Browse files

[django-website] change __str__ to __unicode__ in aggregator to suppo…

…rt django+unicode.

git-svn-id: http://code.djangoproject.com/svn/djangoproject.com@6062 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 0c2ed81 commit fc51a93daa955c8cfc5b090d03c61ca5a8148b49 jacob committed Sep 7, 2007
Showing with 2 additions and 2 deletions.
  1. +2 −2 django_website/apps/aggregator/models.py
View
4 django_website/apps/aggregator/models.py
@@ -12,7 +12,7 @@ class Meta:
class Admin:
pass
- def __str__(self):
+ def __unicode__(self):
return self.title
class FeedItem(models.Model):
@@ -27,7 +27,7 @@ class Meta:
db_table = 'aggregator_feeditems'
ordering = ("-date_modified",)
- def __str__(self):
+ def __unicode__(self):
return self.title
def get_absolute_url(self):

0 comments on commit fc51a93

Please sign in to comment.