Added an editorial comment to a test.

This is to stop me trying to "fix" that piece of code again in the future.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10012 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Malcolm Tredinnick 2009-03-10 05:23:42 +00:00
parent d45e24a1f8
commit ec9c03ce0b
1 changed files with 3 additions and 0 deletions

View File

@ -48,7 +48,10 @@ class Worker(models.Model):
class BrokenUnicodeMethod(models.Model): class BrokenUnicodeMethod(models.Model):
name = models.CharField(max_length=7) name = models.CharField(max_length=7)
def __unicode__(self): def __unicode__(self):
# Intentionally broken (trying to insert a unicode value into a str
# object).
return 'Názov: %s' % self.name return 'Názov: %s' % self.name