Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #21137 -- Corrected ULRconf include example.

Thanks marfire for the report.
  • Loading branch information...
commit 77f6b468e5b3a389b3e56e1e1f70a56e8a0a68fa 1 parent fd8d7db
Tim Graham authored September 24, 2013

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  docs/topics/http/urls.txt
4  docs/topics/http/urls.txt
@@ -383,8 +383,8 @@ the suffixes that differ::
383 383
 
384 384
     from django.conf.urls import include, patterns, url
385 385
 
386  
-    urlpatterns = patterns('wiki.views',
387  
-        url(r'^(?P<page_slug>\w+)-(?P<page_id>\w+)/', include(patterns('',
  386
+    urlpatterns = patterns('',
  387
+        url(r'^(?P<page_slug>\w+)-(?P<page_id>\w+)/', include(patterns('wiki.views',
388 388
             url(r'^history/$', 'history'),
389 389
             url(r'^edit/$', 'edit'),
390 390
             url(r'^discuss/$', 'discuss'),

0 notes on commit 77f6b46

Please sign in to comment.
Something went wrong with that request. Please try again.