Commit 85757d0e authored by Mathias André's avatar Mathias André Committed by Tim Graham
Browse files

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.
parent 6b28e957
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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)