Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #1864 -- Changed ContentType repr to str

git-svn-id: http://code.djangoproject.com/svn/django/trunk@2904 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit fe257d49da9a789ec9217e05b4e321ccd360650e 1 parent 785ada1
Adrian Holovaty adrianholovaty authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/contrib/contenttypes/models.py
2  django/contrib/contenttypes/models.py
View
@@ -31,7 +31,7 @@ class Meta:
ordering = ('name',)
unique_together = (('app_label', 'model'),)
- def __repr__(self):
+ def __str__(self):
return self.name
def model_class(self):
Please sign in to comment.
Something went wrong with that request. Please try again.