[1.6.x] Fixed #21137 -- Corrected ULRconf include example.
Thanks marfire for the report.
Backport of 77f6b468e5
from master
This commit is contained in:
parent
11dfb58131
commit
d30d66b907
|
@ -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'),
|
||||
|
|
Loading…
Reference in New Issue