From ec9c03ce0bef5ecd40179e813f2ae6b87f3be8c4 Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Tue, 10 Mar 2009 05:23:42 +0000 Subject: [PATCH] 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 --- tests/regressiontests/model_regress/models.py | 3 +++ 1 file changed, 3 insertions(+) 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