Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[1.0.X] Fixed #10589 -- Removed duplicated model definition in null_f…

…k_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
  • Loading branch information...
commit d9eb87adae519425646fa7245cd35f24496c1882 1 parent 50379f4
Russell Keith-Magee authored March 24, 2009
9  tests/regressiontests/null_fk_ordering/models.py
@@ -48,15 +48,6 @@ class Meta:
48 48
     def __unicode__(self):
49 49
         return self.comment_text
50 50
 
51  
-class Comment(models.Model):
52  
-    post = models.ForeignKey(Post, null=True)
53  
-    comment_text = models.CharField(max_length=250)
54  
-
55  
-    class Meta:
56  
-        ordering = ['post__forum__system_info__system_name', 'comment_text']
57  
-
58  
-    def __unicode__(self):
59  
-        return self.comment_text
60 51
 
61 52
 __test__ = {'API_TESTS': """
62 53
 # Regression test for #7512 -- ordering across nullable Foreign Keys shouldn't

0 notes on commit d9eb87a

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