Re: 2 url template tag questions

2011-08-23 Thread Tom Evans
2011/8/23 Yaşar Arabacı : > Hi, > If a use url template tag on a generic view, does urls.py supply required > arguments? For example: > urlpatterns = patterns('django.views.generic.date_based', >     (r'^arsiv/(?P\d{4})/$','archive_year',{ >             'template_name' : 'blog/yillar.html', >      

2 url template tag questions

2011-08-22 Thread Yaşar Arabacı
Hi, If a use url template tag on a generic view, does urls.py supply required arguments? For example: urlpatterns = patterns('django.views.generic.date_based', (r'^arsiv/(?P\d{4})/$','archive_year',{ 'template_name' : 'blog/yillar.html', 'date_field' : 'pub_date',