diff --git a/docs/topics/http/urls.txt b/docs/topics/http/urls.txt index 8225bbb56a9..d72d1a26e6c 100644 --- a/docs/topics/http/urls.txt +++ b/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\w+)-(?P\w+)/', include(patterns('', + urlpatterns = patterns('', + url(r'^(?P\w+)-(?P\w+)/', include(patterns('wiki.views', url(r'^history/$', 'history'), url(r'^edit/$', 'edit'), url(r'^discuss/$', 'discuss'),