diff --git a/tests/modeltests/str/models.py b/tests/modeltests/str/models.py index 7c63ec409d..b4d3adcd6d 100644 --- a/tests/modeltests/str/models.py +++ b/tests/modeltests/str/models.py @@ -22,6 +22,8 @@ class Article(models.Model): pub_date = models.DateTimeField() def __str__(self): + # Caution: this is only safe if you are certain that headline will be + # in ASCII. return self.headline class InternationalArticle(models.Model):