Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit edce4128e14042c28886bb9ab12d92bf83c5b704 1 parent 83a99bc
@adrianholovaty adrianholovaty authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.