Ticket #4101: generic_views.2.patch
File generic_views.2.patch, 840 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``.