Ticket #4101: generic_views.patch

File generic_views.patch, 838 bytes (added by Collin Grady <cgrady@…>, 17 years ago)
  • docs/generic_views.txt

     
    4444       (r'^(?P<year>\d{4})/(?P<month>[a-z]{3})/(?P<day>\w{1,2})/$',               'archive_day',   info_dict),
    4545       (r'^(?P<year>\d{4})/(?P<month>[a-z]{3})/$',                                'archive_month', info_dict),
    4646       (r'^(?P<year>\d{4})/$',                                                    'archive_year',  info_dict),
    47        (r'^/?$',                                                                  'archive_index', info_dict),
     47       (r'^$',                                                                  'archive_index', info_dict),
    4848    )
    4949
    5050As you can see, this URLconf defines a few options in ``info_dict``.
Back to Top