diff options
| author | Mathias André <mathias@acronycal.org> | 2015-03-03 10:30:12 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-03-03 07:46:12 -0500 |
| commit | 85757d0e79f4237d7cf3ee1785946315aa6959eb (patch) | |
| tree | 02bf302006d8e0bba1eaf44372720fb8bc16c7f5 | |
| parent | 6b28e957df364532109a1897c73a1fa8b1416bd4 (diff) | |
Removed outdated docstring for get_admin_url().
Since a4b8a4b632dbb6d9fed1a8654aed99a9c53560d4 the admin
URL returned by get_admin_url() is no longer relative to
the Django admin index page.
| -rw-r--r-- | django/contrib/admin/models.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/django/contrib/admin/models.py b/django/contrib/admin/models.py index 4e1d2aed04..636a99b6f8 100644 --- a/django/contrib/admin/models.py +++ b/django/contrib/admin/models.py @@ -74,7 +74,6 @@ class LogEntry(models.Model): def get_admin_url(self): """ Returns the admin URL to edit the object represented by this log entry. - This is relative to the Django admin index page. """ if self.content_type and self.object_id: url_name = 'admin:%s_%s_change' % (self.content_type.app_label, self.content_type.model) |
