mirror of
https://github.com/django/django.git
synced 2024-11-29 22:56:46 +01:00
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:
parent
d45e24a1f8
commit
ec9c03ce0b
@ -48,7 +48,10 @@ class Worker(models.Model):
|
||||
|
||||
class BrokenUnicodeMethod(models.Model):
|
||||
name = models.CharField(max_length=7)
|
||||
|
||||
def __unicode__(self):
|
||||
# Intentionally broken (trying to insert a unicode value into a str
|
||||
# object).
|
||||
return 'Názov: %s' % self.name
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user