mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Added a test for negated Q object querying
The added test is from the patch in ticket #19672 (written by Ian Kelly). Fixed #19672, refs #19849.
This commit is contained in:
@@ -64,6 +64,7 @@ class Annotation(models.Model):
|
||||
class ExtraInfo(models.Model):
|
||||
info = models.CharField(max_length=100)
|
||||
note = models.ForeignKey(Note)
|
||||
value = models.IntegerField(null=True)
|
||||
|
||||
class Meta:
|
||||
ordering = ['info']
|
||||
|
||||
Reference in New Issue
Block a user