Skip to content
Snippets Groups Projects
Commit c27b3743 authored by Christian Pointner's avatar Christian Pointner
Browse files

reverted accidentially committed stuff

parent e8572ea3
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,7 @@ class HostDetailView(DetailView):
class ShowListView(ListView):
context_object_name = 'show_list'
queryset = Show.objects.filter(is_active=True).exclude(id=1)
queryset = Show.objects.filter(is_active=True).exclude(id=1).distinct()
template_name = 'show_list.html'
def get_queryset(self):
......@@ -50,7 +50,7 @@ class ShowListView(ListView):
class ShowDetailView(DetailView):
queryset = Show.objects.exclude(id=1)
queryset = Show.objects.all().exclude(id=1)
template_name = 'show_detail.html'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment