Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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 authored March 10, 2009
3  tests/regressiontests/model_regress/models.py
@@ -48,7 +48,10 @@ def __unicode__(self):
48 48
 
49 49
 class BrokenUnicodeMethod(models.Model):
50 50
     name = models.CharField(max_length=7)
  51
+
51 52
     def __unicode__(self):
  53
+        # Intentionally broken (trying to insert a unicode value into a str
  54
+        # object).
52 55
         return 'Názov: %s' % self.name
53 56
 
54 57
 

0 notes on commit ec9c03c

Please sign in to comment.
Something went wrong with that request. Please try again.