Browse files

[1.6.x] Fixed #21137 -- Corrected ULRconf include example.

Thanks marfire for the report.

Backport of 77f6b46 from master
  • Loading branch information...
1 parent 11dfb58 commit d30d66b90728b8dc173c050c63c86e5af3ab7c40 @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 d30d66b

Please sign in to comment.