Skip to content
Browse files

Fixed reference to removed function root() in AdminSite docstring.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14209 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 52efbf9 commit 5bf73dd909b36a5aeff2ddbf3635e9394e08a5a7 @spookylukey spookylukey committed
Showing with 3 additions and 2 deletions.
  1. +3 −2 django/contrib/admin/sites.py
View
5 django/contrib/admin/sites.py
@@ -28,8 +28,9 @@ class AdminSite(object):
"""
An AdminSite object encapsulates an instance of the Django admin application, ready
to be hooked in to your URLconf. Models are registered with the AdminSite using the
- register() method, and the root() method can then be used as a Django view function
- that presents a full admin interface for the collection of registered models.
+ register() method, and the get_urls() method can then be used to access Django view
+ functions that present a full admin interface for the collection of registered
+ models.
"""
index_template = None

0 comments on commit 5bf73dd

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