diff options
| author | Tim Graham <timograham@gmail.com> | 2013-09-24 09:41:12 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-09-24 09:41:12 -0400 |
| commit | 77f6b468e5b3a389b3e56e1e1f70a56e8a0a68fa (patch) | |
| tree | 418ca17ecd7d42d3b641887b59ccb96cd0e068ab /docs | |
| parent | fd8d7db4d7f5329fc2e2b348fc60ed6e81d47b13 (diff) | |
Fixed #21137 -- Corrected ULRconf include example.
Thanks marfire for the report.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/http/urls.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/http/urls.txt b/docs/topics/http/urls.txt index 8225bbb56a..d72d1a26e6 100644 --- a/docs/topics/http/urls.txt +++ b/docs/topics/http/urls.txt @@ -383,8 +383,8 @@ the suffixes that differ:: from django.conf.urls import include, patterns, url - urlpatterns = patterns('wiki.views', - url(r'^(?P<page_slug>\w+)-(?P<page_id>\w+)/', include(patterns('', + urlpatterns = patterns('', + url(r'^(?P<page_slug>\w+)-(?P<page_id>\w+)/', include(patterns('wiki.views', url(r'^history/$', 'history'), url(r'^edit/$', 'edit'), url(r'^discuss/$', 'discuss'), |
