mirror of
https://github.com/django/django.git
synced 2025-09-27 12:39:17 +00: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
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue