magic-removal: Fixed #1308 -- Updated get_package() -> package() in admin models
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2232 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
fd7c0a1a7c
commit
1308017f62
|
@ -48,4 +48,4 @@ class LogEntry(models.Model):
|
|||
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.get_package(), self.content_type.python_module_name, self.object_id)
|
||||
return "%s/%s/%s/" % (self.content_type.package, self.content_type.python_module_name, self.object_id)
|
||||
|
|
Loading…
Reference in New Issue