diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2005-08-01 21:37:16 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2005-08-01 21:37:16 +0000 |
| commit | 6950f4f8ddc1388576e8b0bf23f8ef952c3bf0e3 (patch) | |
| tree | 3fa59fb8387923a976ac4b0bfb8172fe3ec35a28 /docs | |
| parent | 6656806f42f6c97264a65b2bbc9ba2cfb746bca3 (diff) | |
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
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/overview.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/overview.txt b/docs/overview.txt index f41ed6e24b..6917ef8a1d 100644 --- a/docs/overview.txt +++ b/docs/overview.txt @@ -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 |
