diff --git a/tests/regressiontests/queries/models.py b/tests/regressiontests/queries/models.py index 6748950f21..8c47e623d7 100644 --- a/tests/regressiontests/queries/models.py +++ b/tests/regressiontests/queries/models.py @@ -353,5 +353,9 @@ True >>> ExtraInfo.objects.values('note') [{'note': 1}, {'note': 2}] +# Bug 5261 +>>> Note.objects.exclude(Q()) +[, , ] + """}