summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias André <mathias@acronycal.org>2015-03-03 10:30:12 +0100
committerTim Graham <timograham@gmail.com>2015-03-03 07:47:32 -0500
commit44dd65fb2ca8c008a4ca83cd8fdb2d14004f2543 (patch)
treeb31c67342b28bef1da8b76441d650dbf61eab3b0
parent72539a5f29d9b9e5083c909d3938de823eb572c0 (diff)
[1.8.x] 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. Backport of 85757d0e79f4237d7cf3ee1785946315aa6959eb from master
-rw-r--r--django/contrib/admin/models.py1
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)