Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[django-website] a bit more unicodeification.

git-svn-id: http://code.djangoproject.com/svn/djangoproject.com@6063 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 57b3ccf203f4cf128a156f17d104c7167f840492 1 parent fc51a93
authored
2  django_website/apps/blog/models.py
@@ -17,7 +17,7 @@ class Meta:
17 17
     class Admin:
18 18
         list_display = ('pub_date', 'headline', 'author')
19 19
 
20  
-    def __str__(self):
  20
+    def __unicode__(self):
21 21
         return self.headline
22 22
 
23 23
     def get_absolute_url(self):
2  django_website/apps/docs/models.py
@@ -11,7 +11,7 @@ class Meta:
11 11
     class Admin:
12 12
         list_display = ("version", "repository_path", "release_date")
13 13
         
14  
-    def __str__(self):
  14
+    def __unicode__(self):
15 15
         return self.version
16 16
     
17 17
     def get_absolute_url(self):

0 notes on commit 57b3ccf

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