summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2009-03-10 05:23:42 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2009-03-10 05:23:42 +0000
commitec9c03ce0bef5ecd40179e813f2ae6b87f3be8c4 (patch)
treeaa347a0d2e67a5ce344c7cc9c65ea479568d2ab4
parentd45e24a1f849e1f244b58565223765c95156fef1 (diff)
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
-rw-r--r--tests/regressiontests/model_regress/models.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/regressiontests/model_regress/models.py b/tests/regressiontests/model_regress/models.py
index 3c87e1c1e9..625d9e3641 100644
--- a/tests/regressiontests/model_regress/models.py
+++ b/tests/regressiontests/model_regress/models.py
@@ -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