Skip to content
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
  • Loading branch information...
1 parent 83a99bc commit edce4128e14042c28886bb9ab12d92bf83c5b704 @adrianholovaty adrianholovaty committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/contrib/sites/models.py
View
2 django/contrib/sites/models.py
@@ -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.
Something went wrong with that request. Please try again.