Skip to content

Commit

Permalink
Changed Site model to use str, not repr
Browse files Browse the repository at this point in the history
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2896 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
adrianholovaty committed May 11, 2006
1 parent 83a99bc commit edce412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/contrib/sites/models.py
Expand Up @@ -19,5 +19,5 @@ class Admin:
list_display = ('domain', 'name')
search_fields = ('domain', 'name')

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

0 comments on commit edce412

Please sign in to comment.