Fixed #4101 -- Clarified a potentially confusing URL pattern in one example.

Thanks, Collin Grady.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5050 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Malcolm Tredinnick 2007-04-21 04:21:45 +00:00
parent 8ffb8001b4
commit c2b1986525
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ simple weblog app that drives the blog on djangoproject.com::
(r'^(?P<year>\d{4})/(?P<month>[a-z]{3})/(?P<day>\w{1,2})/$', 'archive_day', info_dict),
(r'^(?P<year>\d{4})/(?P<month>[a-z]{3})/$', 'archive_month', info_dict),
(r'^(?P<year>\d{4})/$', 'archive_year', info_dict),
(r'^/?$', 'archive_index', info_dict),
(r'^$', 'archive_index', info_dict),
)
As you can see, this URLconf defines a few options in ``info_dict``.