Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit fc51a93daa955c8cfc5b090d03c61ca5a8148b49 1 parent 0c2ed81
jacob authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 django_website/apps/aggregator/models.py
4 django_website/apps/aggregator/models.py
View
@@ -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):
Please sign in to comment.
Something went wrong with that request. Please try again.