Author: kmtracey Date: 2010-03-01 21:28:48 -0600 (Mon, 01 Mar 2010) New Revision: 12650
Modified: django/trunk/tests/regressiontests/admin_views/models.py Log: Fixed #11710: Made a small test change to ensure utf-8 bytestrings 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. Modified: django/trunk/tests/regressiontests/admin_views/models.py =================================================================== --- django/trunk/tests/regressiontests/admin_views/models.py 2010-03-02 02:39:26 UTC (rev 12649) +++ django/trunk/tests/regressiontests/admin_views/models.py 2010-03-02 03:28:48 UTC (rev 12650) @@ -61,7 +61,8 @@ 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?') -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-upda...@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.