Commit fe257d49 authored by Adrian Holovaty's avatar Adrian Holovaty
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
parent 785ada1b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ class ContentType(models.Model):
        ordering = ('name',)
        unique_together = (('app_label', 'model'),)

    def __repr__(self):
    def __str__(self):
        return self.name

    def model_class(self):