Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #10589 -- Removed duplicated model definition in null_fk_orderi…

…ng 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
  • Loading branch information...
commit 214c79219e99fb008eb9b3d1323259da4c845145 1 parent cc2d0c3
@freakboy3742 freakboy3742 authored
Showing with 0 additions and 9 deletions.
  1. +0 −9 tests/regressiontests/null_fk_ordering/models.py
View
9 tests/regressiontests/null_fk_ordering/models.py
@@ -48,15 +48,6 @@ class Meta:
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
Please sign in to comment.
Something went wrong with that request. Please try again.