From af0e543acb81dd8eb4cf68d35c70128fef389251 Mon Sep 17 00:00:00 2001 From: Ernesto Rico-Schmidt Date: Tue, 7 Jun 2011 20:55:03 +0200 Subject: fixed typo in queryset method call. 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'): -- cgit v0.10.2