summaryrefslogtreecommitdiff
path: root/tests/model_fields
diff options
context:
space:
mode:
Diffstat (limited to 'tests/model_fields')
-rw-r--r--tests/model_fields/test_field_flags.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/model_fields/test_field_flags.py b/tests/model_fields/test_field_flags.py
index 3749e55452..e86ee3a528 100644
--- a/tests/model_fields/test_field_flags.py
+++ b/tests/model_fields/test_field_flags.py
@@ -31,22 +31,22 @@ RELATION_FIELDS = (
GenericRelation,
)
-ONE_TO_MANY_CLASSES = {
+MANY_TO_MANY_CLASSES = {
+ ManyToManyField,
+}
+
+MANY_TO_ONE_CLASSES = {
ForeignObject,
ForeignKey,
GenericForeignKey,
}
-MANY_TO_ONE_CLASSES = {
+ONE_TO_MANY_CLASSES = {
ForeignObjectRel,
ManyToOneRel,
GenericRelation,
}
-MANY_TO_MANY_CLASSES = {
- ManyToManyField,
-}
-
ONE_TO_ONE_CLASSES = {
OneToOneField,
}