comparison gigs/urls.py @ 111:23efa49f5e29

Bootstrap: flyers page.
author Brian Neal <bgneal@gmail.com>
date Sat, 19 Oct 2013 17:18:25 -0500
parents e2868ad47a1e
children 312f198e8958
comparison
equal deleted inserted replaced
110:03f51d405400 111:23efa49f5e29
12 url(r'^$', 'gigs.views.gigs', name='gigs-index'), 12 url(r'^$', 'gigs.views.gigs', name='gigs-index'),
13 url(r'^flyers/$', 13 url(r'^flyers/$',
14 ListView.as_view( 14 ListView.as_view(
15 queryset=Gig.objects.exclude(flyer__isnull=True).select_related('flyer'), 15 queryset=Gig.objects.exclude(flyer__isnull=True).select_related('flyer'),
16 template_name='gigs/flyers.html', 16 template_name='gigs/flyers.html',
17 paginate_by=10,
17 context_object_name='gig_list'), 18 context_object_name='gig_list'),
18 name='gigs-flyers') 19 name='gigs-flyers')
19 ) 20 )