Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[1.1.X] Fixed #11710: Made a small test change to ensure utf-8 bytest…

…rings in verbose_names don't cause a server error when the admin change log message is built. The necessary code fix was made for #12966 in r12627. Thanks Rupe.

r12650 from trunk.



git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12651 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 69fb5c25bdabd6f693bca64bcf0dfeeb9659bddf 1 parent 08a698e
Karen Tracey authored March 02, 2010
3  tests/regressiontests/admin_views/models.py
@@ -60,7 +60,8 @@ def __unicode__(self):
60 60
         return self.title
61 61
 
62 62
     class Meta:
63  
-        verbose_name = u'¿Chapter?'
  63
+        # Use a utf-8 bytestring to ensure it works (see #11710)
  64
+        verbose_name = '¿Chapter?'
64 65
 
65 66
 class ChapterXtra1(models.Model):
66 67
     chap = models.OneToOneField(Chapter, verbose_name=u'¿Chap?')

0 notes on commit 69fb5c2

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