Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[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
authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  django_website/apps/aggregator/models.py
4  django_website/apps/aggregator/models.py
@@ -12,7 +12,7 @@ class Meta:
12 12
     class Admin:
13 13
         pass
14 14
 
15  
-    def __str__(self):
  15
+    def __unicode__(self):
16 16
         return self.title
17 17
 
18 18
 class FeedItem(models.Model):
@@ -27,7 +27,7 @@ class Meta:
27 27
         db_table = 'aggregator_feeditems'
28 28
         ordering = ("-date_modified",)
29 29
 
30  
-    def __str__(self):
  30
+    def __unicode__(self):
31 31
         return self.title
32 32
 
33 33
     def get_absolute_url(self):

0 notes on commit fc51a93

Please sign in to comment.
Something went wrong with that request. Please try again.