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

Thanks marfire for the report.

Backport of 77f6b468e5 from master
This commit is contained in:
Tim Graham 2013-09-24 09:41:12 -04:00
parent 11dfb58131
commit d30d66b907
1 changed files with 2 additions and 2 deletions

View File

@ -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'),