Skip to content

Commit

Permalink
Added an editorial comment to a test.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
malcolmt committed Mar 10, 2009
1 parent d45e24a commit ec9c03c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/regressiontests/model_regress/models.py
Expand Up @@ -48,7 +48,10 @@ def __unicode__(self):

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


Expand Down

0 comments on commit ec9c03c

Please sign in to comment.