Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

magic-removal: Fixed #1417 -- Fixed admin.models.LogEntry.get_admin_u…

…rl() to use new ContentType model fields. Thanks, nesh

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 10d7f00 commit 18d1b8177dba31e051e5406c011ebcb8d5f4acae @adrianholovaty adrianholovaty committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/contrib/admin/
2  django/contrib/admin/
@@ -48,4 +48,4 @@ 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.
- return "%s/%s/%s/" % (self.content_type.package, self.content_type.python_module_name, self.object_id)
+ return "%s/%s/%s/" % (self.content_type.app_label, self.content_type.model, self.object_id)

0 comments on commit 18d1b81

Please sign in to comment.
Something went wrong with that request. Please try again.