Author: jacob
Date: 2007-09-07 13:49:09 -0500 (Fri, 07 Sep 2007)
New Revision: 6062
Modified:
djangoproject.com/django_website/apps/aggregator/models.py
Log:
[django-website] change __str__ to __unicode__ in aggregator to support
django+unicode.
Modified: djangoproject.com/django_website/apps/aggregator/models.py
===================================================================
--- djangoproject.com/django_website/apps/aggregator/models.py 2007-09-07
18:39:10 UTC (rev 6061)
+++ djangoproject.com/django_website/apps/aggregator/models.py 2007-09-07
18:49:09 UTC (rev 6062)
@@ -12,7 +12,7 @@
class Admin:
pass
- def __str__(self):
+ def __unicode__(self):
return self.title
class FeedItem(models.Model):
@@ -27,7 +27,7 @@
db_table = 'aggregator_feeditems'
ordering = ("-date_modified",)
- def __str__(self):
+ def __unicode__(self):
return self.title
def get_absolute_url(self):
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---