1
0
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:
Anssi Kääriäinen
2013-02-20 21:09:27 +02:00
parent 10f9ba046f
commit e8fc3f3783
2 changed files with 10 additions and 2 deletions

View File

@@ -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']