Author: jacob
Date: 2007-09-07 13:50:35 -0500 (Fri, 07 Sep 2007)
New Revision: 6063

Modified:
   djangoproject.com/django_website/apps/blog/models.py
   djangoproject.com/django_website/apps/docs/models.py
Log:
[django-website] a bit more unicodeification.

Modified: djangoproject.com/django_website/apps/blog/models.py
===================================================================
--- djangoproject.com/django_website/apps/blog/models.py        2007-09-07 
18:49:09 UTC (rev 6062)
+++ djangoproject.com/django_website/apps/blog/models.py        2007-09-07 
18:50:35 UTC (rev 6063)
@@ -17,7 +17,7 @@
     class Admin:
         list_display = ('pub_date', 'headline', 'author')
 
-    def __str__(self):
+    def __unicode__(self):
         return self.headline
 
     def get_absolute_url(self):

Modified: djangoproject.com/django_website/apps/docs/models.py
===================================================================
--- djangoproject.com/django_website/apps/docs/models.py        2007-09-07 
18:49:09 UTC (rev 6062)
+++ djangoproject.com/django_website/apps/docs/models.py        2007-09-07 
18:50:35 UTC (rev 6063)
@@ -11,7 +11,7 @@
     class Admin:
         list_display = ("version", "repository_path", "release_date")
         
-    def __str__(self):
+    def __unicode__(self):
         return self.version
     
     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
-~----------~----~----~----~------~----~------~--~---

Reply via email to