Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
  • Loading branch information...
commit ec9c03ce0bef5ecd40179e813f2ae6b87f3be8c4 1 parent d45e24a
Malcolm Tredinnick malcolmt authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  tests/regressiontests/model_regress/models.py
3  tests/regressiontests/model_regress/models.py
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.