Ticket #4101: generic_views.patch
File generic_views.patch, 838 bytes (added by , 18 years ago) |
---|
-
docs/generic_views.txt
44 44 (r'^(?P<year>\d{4})/(?P<month>[a-z]{3})/(?P<day>\w{1,2})/$', 'archive_day', info_dict), 45 45 (r'^(?P<year>\d{4})/(?P<month>[a-z]{3})/$', 'archive_month', info_dict), 46 46 (r'^(?P<year>\d{4})/$', 'archive_year', info_dict), 47 (r'^ /?$', 'archive_index', info_dict),47 (r'^$', 'archive_index', info_dict), 48 48 ) 49 49 50 50 As you can see, this URLconf defines a few options in ``info_dict``.