Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

Thanks marfire for the report.

Backport of 77f6b46 from master
  • Loading branch information...
commit de8715ca9749c182b3610ea3d1959c3a5603a919 1 parent 13aff91
@timgraham timgraham authored
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'),
Please sign in to comment.
Something went wrong with that request. Please try again.