Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed a broken test from r16656.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16667 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit a86dde20f05cb85bb2d69c483d084e6c217792cc 1 parent 6feb611
@malcolmt malcolmt authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 tests/regressiontests/queries/models.py
View
8 tests/regressiontests/queries/models.py
@@ -319,13 +319,13 @@ def __unicode__(self):
return self.name
class SimpleCategory(models.Model):
- name = models.CharField(max_length=10)
+ name = models.CharField(max_length=15)
def __unicode__(self):
return self.name
class SpecialCategory(SimpleCategory):
- special_name = models.CharField(max_length=10)
+ special_name = models.CharField(max_length=15)
def __unicode__(self):
return self.name + " " + self.special_name
@@ -337,9 +337,9 @@ def __unicode__(self):
return "category item: " + str(self.category)
class OneToOneCategory(models.Model):
- new_name = models.CharField(max_length=10)
+ new_name = models.CharField(max_length=15)
category = models.OneToOneField(SimpleCategory)
def __unicode__(self):
return "one2one " + self.new_name
-
+
Please sign in to comment.
Something went wrong with that request. Please try again.