Author: mtredinnick
Date: 2007-07-04 01:05:45 -0500 (Wed, 04 Jul 2007)
New Revision: 5602
Modified:
django/branches/unicode/tests/modeltests/str/models.py
Log:
unicode: Changed one Model.__str__ test to verify that old-style code still
works with pure ASCII data.
Modified: django/branches/unicode/tests/modeltests/str/models.py
===================================================================
--- django/branches/unicode/tests/modeltests/str/models.py 2007-07-04
06:02:00 UTC (rev 5601)
+++ django/branches/unicode/tests/modeltests/str/models.py 2007-07-04
06:05:45 UTC (rev 5602)
@@ -22,7 +22,7 @@
pub_date = models.DateTimeField()
def __str__(self):
- return smart_str(self.headline)
+ return self.headline
class InternationalArticle(models.Model):
headline = models.CharField(maxlength=100)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---