Kaydet (Commit) 85757d0e authored tarafından Mathias André's avatar Mathias André Kaydeden (comit) Tim Graham

Removed outdated docstring for get_admin_url().

Since a4b8a4b6 the admin
URL returned by get_admin_url() is no longer relative to
the Django admin index page.
üst 6b28e957
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment