Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[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
@kmtracey kmtracey authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  tests/regressiontests/admin_views/models.py
View
3  tests/regressiontests/admin_views/models.py
@@ -60,7 +60,8 @@ def __unicode__(self):
return self.title
class Meta:
- verbose_name = u'¿Chapter?'
+ # Use a utf-8 bytestring to ensure it works (see #11710)
+ verbose_name = '¿Chapter?'
class ChapterXtra1(models.Model):
chap = models.OneToOneField(Chapter, verbose_name=u'¿Chap?')
Please sign in to comment.
Something went wrong with that request. Please try again.