Fixed small typo in docs/overview.txt -- thanks, Trent

git-svn-id: http://code.djangoproject.com/svn/django/trunk@381 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2005-08-01 21:37:16 +00:00
parent 6656806f42
commit 6950f4f8dd
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ Reporter/Article example, here's what that might look like::
urlpatterns = patterns('',
(r'^/articles/(?P<year>\d{4})/$', 'myproject.news.views.articles.year_archive'),
(r'^/articles/(?P<year>\d{4})/(?P<month>\d{2})/$', 'myproject.news.views.articles.month_archive'),
(r'^/articles/(?P<year>\d{4})/(?P<month>\d{2})/(?P<day>\d+)/$', 'myproject.news.views.articles.article_detail'),
(r'^/articles/(?P<year>\d{4})/(?P<month>\d{2})/(?P<article_id>\d+)/$', 'myproject.news.views.articles.article_detail'),
)
The code above maps URLs, as regular expressions, to the location of Python