- url(r'^jtags/$', 'json_tags_starting_with', name='jhint'),
+ url(r'^jtags/?$', 'json_tags_starting_with', name='jhint'),
+ url(r'^nowe/$', ListView.as_view(
+ 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='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'),
+ template_name='catalogue/recent_daisy_list.html'), name='recent_daisy_list'),