Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

magic-removal: Fixed #1308 -- Updated get_package() -> package() in a…

…dmin models

git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2232 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 1308017f62ed00114aa331860ed4eadd7ce2a252 1 parent fd7c0a1
Adrian Holovaty authored February 02, 2006

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/contrib/admin/models.py
2  django/contrib/admin/models.py
@@ -48,4 +48,4 @@ def get_admin_url(self):
48 48
         Returns the admin URL to edit the object represented by this log entry.
49 49
         This is relative to the Django admin index page.
50 50
         """
51  
-        return "%s/%s/%s/" % (self.content_type.get_package(), self.content_type.python_module_name, self.object_id)
  51
+        return "%s/%s/%s/" % (self.content_type.package, self.content_type.python_module_name, self.object_id)

0 notes on commit 1308017

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