mirror of
https://github.com/django/django.git
synced 2024-11-30 15:10:46 +01:00
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:
parent
8ffb8001b4
commit
c2b1986525
@ -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``.
|
||||
|
Loading…
Reference in New Issue
Block a user