summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2006-05-11 17:51:30 +0000
committerAdrian Holovaty <adrian@holovaty.com>2006-05-11 17:51:30 +0000
commitedce4128e14042c28886bb9ab12d92bf83c5b704 (patch)
tree138c723359dc18e2e0d1cd609b3c4122ec79548c
parent83a99bc28b7b5a46a9bd3d9e52d2d84e94e9f7e4 (diff)
Changed Site model to use str, not repr
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2896 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/contrib/sites/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/sites/models.py b/django/contrib/sites/models.py
index 861c3b26eb..df93c543d2 100644
--- a/django/contrib/sites/models.py
+++ b/django/contrib/sites/models.py
@@ -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