X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/5f176bb52a7a59bf88f5728e60a3a62e12fb3d54..ef759fbfa694cdddd1b24027a6f8792302add9b8:/apps/catalogue/urls.py?ds=sidebyside diff --git a/apps/catalogue/urls.py b/apps/catalogue/urls.py index d88a68f15..43209198b 100644 --- a/apps/catalogue/urls.py +++ b/apps/catalogue/urls.py @@ -37,7 +37,7 @@ urlpatterns += patterns('catalogue.views', queryset=Book.objects.filter(parent=None).order_by('-created_at'), template_name='catalogue/recent_list.html'), name='recent_list'), url(r'^nowe/audiobooki/$', ListView.as_view( - queryset=Book.objects.filter(media__type__in=('mp3', 'ogg')).annotate(m=Max('media__uploaded_at')).order_by('-m'), + queryset=Book.objects.filter(media__type='ogg').annotate(m=Max('media__uploaded_at')).order_by('-m'), template_name='catalogue/recent_audiobooks_list.html'), name='recent_audiobooks_list'), url(r'^nowe/daisy/$', ListView.as_view( queryset=Book.objects.filter(media__type='daisy').annotate(m=Max('media__uploaded_at')).order_by('-m'),