Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
  • Loading branch information...
commit 6950f4f8ddc1388576e8b0bf23f8ef952c3bf0e3 1 parent 6656806
@adrianholovaty adrianholovaty authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/overview.txt
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.