Permalink
Browse files

Fixed #21137 -- Corrected ULRconf include example.

Thanks marfire for the report.
  • Loading branch information...
1 parent fd8d7db commit 77f6b468e5b3a389b3e56e1e1f70a56e8a0a68fa @timgraham timgraham committed Sep 24, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/topics/http/urls.txt
View
4 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'),

0 comments on commit 77f6b46

Please sign in to comment.