diff options
| author | Trey Hunner <trey@treyhunner.com> | 2016-06-17 18:01:43 -0700 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-06-17 21:01:43 -0400 |
| commit | 91e9be45ed5ad3b0c3de8890a4fcdbb68836856f (patch) | |
| tree | 410fd46df73f11a52ada31a2d2a7e8cf034ee99b /docs | |
| parent | 7d1b69dbe7f72ac04d2513f0468fe2146231b286 (diff) | |
Added urlpatterns variable in docs/topics/http/urls.txt.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/http/urls.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/topics/http/urls.txt b/docs/topics/http/urls.txt index f6a83bffa7..59b3b698f1 100644 --- a/docs/topics/http/urls.txt +++ b/docs/topics/http/urls.txt @@ -816,7 +816,9 @@ For example:: url(r'^(?P<pk>\d+)/$', views.DetailView.as_view(), name='detail'), ], 'polls') - url(r'^polls/', include(polls_patterns)), + urlpatterns = [ + url(r'^polls/', include(polls_patterns)), + ] This will include the nominated URL patterns into the given application namespace. |
