Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #21137 -- Corrected ULRconf include example.

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