diff --git a/docs/topics/http/urls.txt b/docs/topics/http/urls.txt index bece27b6dae..2ddb7cc0fee 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'),