summaryrefslogtreecommitdiff
path: root/tests/testapp/models/basic.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testapp/models/basic.py')
-rw-r--r--tests/testapp/models/basic.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/testapp/models/basic.py b/tests/testapp/models/basic.py
index c3a45ba5bd..dc108011e0 100644
--- a/tests/testapp/models/basic.py
+++ b/tests/testapp/models/basic.py
@@ -164,6 +164,10 @@ False
True
>>> a7 != a8
True
+>>> articles.get_object(id__exact=8) != articles.get_object(id__exact=7)
+True
+>>> articles.get_object(id__exact=8) == articles.get_object(id__exact=7)
+False
"""
from django.conf import settings