summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)