1
0
mirror of https://github.com/django/django.git synced 2025-07-03 17:29:12 +00:00

unicode: Changed one Model.__str__ test to verify that old-style code still

works with pure ASCII data.


git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5602 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Malcolm Tredinnick 2007-07-04 06:05:45 +00:00
parent c4b260a4b6
commit 9b89357747

View File

@ -22,7 +22,7 @@ class Article(models.Model):
pub_date = models.DateTimeField()
def __str__(self):
return smart_str(self.headline)
return self.headline
class InternationalArticle(models.Model):
headline = models.CharField(maxlength=100)