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',
>
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',
2 matches
Mail list logo