diff options
| author | Luke Plant <L.Plant.98@cantab.net> | 2010-10-14 01:24:20 +0000 |
|---|---|---|
| committer | Luke Plant <L.Plant.98@cantab.net> | 2010-10-14 01:24:20 +0000 |
| commit | 5bf73dd909b36a5aeff2ddbf3635e9394e08a5a7 (patch) | |
| tree | 1f5393458f1c303497e538da5733c1fcbc8bbbd4 | |
| parent | 52efbf97150410af3f7430d0a972ac061f80ca44 (diff) | |
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
| -rw-r--r-- | django/contrib/admin/sites.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/django/contrib/admin/sites.py b/django/contrib/admin/sites.py index 45de459631..c763b1dc17 100644 --- a/django/contrib/admin/sites.py +++ b/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 |
