Skip to content
Browse files

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

… still

works with pure ASCII data.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent c4b260a commit 9b89357747c200f19681d50a30a954451a09d27d @malcolmt malcolmt committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/modeltests/str/
2 tests/modeltests/str/
@@ -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)

0 comments on commit 9b89357

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