Skip to content
Snippets Groups Projects
Commit af0e543a authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files

fixed typo in queryset method call.

parent 8cb7932a
No related branches found
No related tags found
No related merge requests found
...@@ -19,12 +19,12 @@ def show_list(request): ...@@ -19,12 +19,12 @@ def show_list(request):
elif 'showinformation' in request.GET: elif 'showinformation' in request.GET:
showinformation = get_object_or_404(ShowInformation, slug=request.GET['showinformation']) showinformation = get_object_or_404(ShowInformation, slug=request.GET['showinformation'])
queryset = queryset.exfilter(showinformation=showinformation) queryset = queryset.filter(showinformation=showinformation)
elif 'showtopic' in request.GET: elif 'showtopic' in request.GET:
showtopic = get_object_or_404(ShowTopic, slug=request.GET['showtopic']) showtopic = get_object_or_404(ShowTopic, slug=request.GET['showtopic'])
queryset = queryset.filter(showtopic=showtopic) queryset = queryset.filter(showtopic=showtopic)
return list_detail.object_list(request, queryset=queryset, template_object_name='show') return list_detail.object_list(request, queryset=queryset, template_object_name='show')
def recommendations(request, template_name='program/recommendations.html'): def recommendations(request, template_name='program/recommendations.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