Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Changed auth.Permission.__str__() to use str() of self.content_type, …

…not repr()

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3035 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit a2fceea1e36a10e45a99f27f8595a6f7f0ca04cf 1 parent f10af2d
@adrianholovaty adrianholovaty authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/contrib/auth/models.py
View
2  django/contrib/auth/models.py
@@ -20,7 +20,7 @@ class Meta:
ordering = ('content_type', 'codename')
def __str__(self):
- return "%r | %s" % (self.content_type, self.name)
+ return "%s | %s" % (self.content_type, self.name)
class Group(models.Model):
name = models.CharField(_('name'), maxlength=80, unique=True)
Please sign in to comment.
Something went wrong with that request. Please try again.