Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
  • Loading branch information...
commit 9b89357747c200f19681d50a30a954451a09d27d 1 parent c4b260a
Malcolm Tredinnick malcolmt authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tests/modeltests/str/models.py
2  tests/modeltests/str/models.py
View
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.