summaryrefslogtreecommitdiff
path: root/tests/regressiontests
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2009-03-24 11:50:08 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2009-03-24 11:50:08 +0000
commitd9eb87adae519425646fa7245cd35f24496c1882 (patch)
tree019376229d2ce730a000b0c0b206b6c95f3b5d3b /tests/regressiontests
parent50379f4c915958f25a9b1264af97d2ff38cdea3a (diff)
[1.0.X] Fixed #10589 -- Removed duplicated model definition in null_fk_ordering regression test. Thanks to Julien Phalip for the report.
Merge of r10143 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10153 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests')
-rw-r--r--tests/regressiontests/null_fk_ordering/models.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/regressiontests/null_fk_ordering/models.py b/tests/regressiontests/null_fk_ordering/models.py
index 8c79e81f17..dd81706dcd 100644
--- a/tests/regressiontests/null_fk_ordering/models.py
+++ b/tests/regressiontests/null_fk_ordering/models.py
@@ -48,15 +48,6 @@ class Comment(models.Model):
def __unicode__(self):
return self.comment_text
-class Comment(models.Model):
- post = models.ForeignKey(Post, null=True)
- comment_text = models.CharField(max_length=250)
-
- class Meta:
- ordering = ['post__forum__system_info__system_name', 'comment_text']
-
- def __unicode__(self):
- return self.comment_text
__test__ = {'API_TESTS': """
# Regression test for #7512 -- ordering across nullable Foreign Keys shouldn't