summaryrefslogtreecommitdiff
path: root/docs/generic_views.txt
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2007-04-21 04:21:45 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2007-04-21 04:21:45 +0000
commitc2b19865254102e56d6d7fa4e288077cbfcbdfcb (patch)
tree9f72ab69c1362596cdb47cda45e65920a57092b2 /docs/generic_views.txt
parent8ffb8001b485437c66aeb647ff84048feaa3d1d6 (diff)
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
Diffstat (limited to 'docs/generic_views.txt')
-rw-r--r--docs/generic_views.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/generic_views.txt b/docs/generic_views.txt
index 0496a58691..5f7a669652 100644
--- a/docs/generic_views.txt
+++ b/docs/generic_views.txt
@@ -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``.