mirror of
https://github.com/django/django.git
synced 2025-10-29 16:46:11 +00:00
Updated null_queries tests to avoid clashing with the __second lookup.
This commit is contained in:
@@ -28,4 +28,5 @@ class OuterB(models.Model):
|
||||
|
||||
class Inner(models.Model):
|
||||
first = models.ForeignKey(OuterA)
|
||||
second = models.ForeignKey(OuterB, null=True)
|
||||
# second would clash with the __second lookup.
|
||||
third = models.ForeignKey(OuterB, null=True)
|
||||
|
||||
Reference in New Issue
Block a user