Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[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
jacob authored
View
2  django_website/apps/blog/models.py
@@ -17,7 +17,7 @@ class Meta:
class Admin:
list_display = ('pub_date', 'headline', 'author')
- def __str__(self):
+ def __unicode__(self):
return self.headline
def get_absolute_url(self):
View
2  django_website/apps/docs/models.py
@@ -11,7 +11,7 @@ class Meta:
class Admin:
list_display = ("version", "repository_path", "release_date")
- def __str__(self):
+ def __unicode__(self):
return self.version
def get_absolute_url(self):
Please sign in to comment.
Something went wrong with that request. Please try again.