Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #4101 -- Clarified a potentially confusing URL pattern in one e…

…xample.

Thanks, Collin Grady.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5050 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit c2b19865254102e56d6d7fa4e288077cbfcbdfcb 1 parent 8ffb800
@malcolmt malcolmt authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/generic_views.txt
View
2  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``.
Please sign in to comment.
Something went wrong with that request. Please try again.