From c2b19865254102e56d6d7fa4e288077cbfcbdfcb Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Sat, 21 Apr 2007 04:21:45 +0000 Subject: [PATCH] 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 --- docs/generic_views.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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\d{4})/(?P[a-z]{3})/(?P\w{1,2})/$', 'archive_day', info_dict), (r'^(?P\d{4})/(?P[a-z]{3})/$', 'archive_month', info_dict), (r'^(?P\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``.