Commit edce4128 authored by Adrian Holovaty's avatar Adrian Holovaty
Browse files

Changed Site model to use str, not repr

git-svn-id: http://code.djangoproject.com/svn/django/trunk@2896 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent 83a99bc2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -19,5 +19,5 @@ class Site(models.Model):
        list_display = ('domain', 'name')
        search_fields = ('domain', 'name')

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