summaryrefslogtreecommitdiff
path: root/program/views.py
diff options
context:
space:
mode:
authorErnesto Rico-Schmidt <e.rico.schmidt@gmail.com>2011-06-07 18:55:03 (GMT)
committerErnesto Rico-Schmidt <e.rico.schmidt@gmail.com>2011-06-07 18:55:03 (GMT)
commitaf0e543acb81dd8eb4cf68d35c70128fef389251 (patch)
tree7d24089b33447657de8d6836f302daf68be4d02a /program/views.py
parent8cb7932a935df44404e163e0674c5a7fa86ecc26 (diff)
fixed typo in queryset method call.
Diffstat (limited to 'program/views.py')
-rw-r--r--program/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/views.py b/program/views.py
index 5d50349..cfd3749 100644
--- a/program/views.py
+++ b/program/views.py
@@ -19,12 +19,12 @@ def show_list(request):
elif 'showinformation' in request.GET:
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:
showtopic = get_object_or_404(ShowTopic, slug=request.GET['showtopic'])
queryset = queryset.filter(showtopic=showtopic)
-
+
return list_detail.object_list(request, queryset=queryset, template_object_name='show')
def recommendations(request, template_name='program/recommendations.html'):