diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2009-03-24 11:35:48 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2009-03-24 11:35:48 +0000 |
| commit | 214c79219e99fb008eb9b3d1323259da4c845145 (patch) | |
| tree | 7edd326fb2498fd6f6e960ea277de6d8ef2e1778 /tests/regressiontests/null_fk_ordering/models.py | |
| parent | cc2d0c30000ea2e965640f3a67b3fecd15578905 (diff) | |
Fixed #10589 -- Removed duplicated model definition in null_fk_ordering regression test. Thanks to Julien Phalip for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10143 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/null_fk_ordering/models.py')
| -rw-r--r-- | tests/regressiontests/null_fk_ordering/models.py | 9 |
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 |
