diff options
| author | Marten Kenbeek <marten.knbk@gmail.com> | 2015-05-28 17:25:52 +0200 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-06-08 15:12:20 -0400 |
| commit | 1e82094f1b6690018228e688303295f83e1c3d9a (patch) | |
| tree | a0e209da939ebe3b64e8e38cf47a191785825da0 /docs/ref/contrib/gis/tutorial.txt | |
| parent | 39937de7e60052d3ffa9f07fdbb9262aced35d61 (diff) | |
Fixed #21927 -- Made application and instance namespaces more distinct.
Made URL application namespaces be set in the included URLconf and
instance namespaces in the call to include(). Deprecated other ways
to set application and instance namespaces.
Diffstat (limited to 'docs/ref/contrib/gis/tutorial.txt')
| -rw-r--r-- | docs/ref/contrib/gis/tutorial.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/contrib/gis/tutorial.txt b/docs/ref/contrib/gis/tutorial.txt index 05d58f0ef4..71e5304082 100644 --- a/docs/ref/contrib/gis/tutorial.txt +++ b/docs/ref/contrib/gis/tutorial.txt @@ -749,7 +749,7 @@ Next, edit your ``urls.py`` in the ``geodjango`` application folder as follows:: from django.contrib.gis import admin urlpatterns = [ - url(r'^admin/', include(admin.site.urls)), + url(r'^admin/', admin.site.urls), ] Create an admin user: |
