diff options
Diffstat (limited to 'program')
-rw-r--r-- | program/templates/show_detail.html | 2 | ||||
-rw-r--r-- | program/views.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/program/templates/show_detail.html b/program/templates/show_detail.html index 04ad976..e3b2bdb 100644 --- a/program/templates/show_detail.html +++ b/program/templates/show_detail.html @@ -75,7 +75,7 @@ {% endfor %} {% if show.predecessor and show.predecessor.notes.all %} {% if show.name != show.predecessor.name %} - <h3>Davor als {{ show.predecessor.name }}</h3> + <h3>Davor als <a href="{% url "show-detail" show.predecessor.slug %}">{{ show.predecessor.name }}</a></h3> {% endif %} {% for note in show.predecessor.notes.all reversed %} <li> diff --git a/program/views.py b/program/views.py index eaba951..5dc82dd 100644 --- a/program/views.py +++ b/program/views.py @@ -50,7 +50,7 @@ class ShowListView(ListView): class ShowDetailView(DetailView): - queryset = Show.objects.filter(is_active=True).exclude(id=1).distinct() + queryset = Show.objects.all().exclude(id=1) template_name = 'show_detail.html' |