summaryrefslogtreecommitdiff
path: root/tests/postgres_tests/fields.py
diff options
context:
space:
mode:
authorMarc Tamlyn <marc.tamlyn@gmail.com>2015-05-30 22:13:58 +0100
committerMarc Tamlyn <marc.tamlyn@gmail.com>2015-05-30 23:10:30 +0100
commit33ea472f6924480eb8708bc6d0ac90b9f742ba68 (patch)
tree2ca1f92c94638db440e3e23a30bd9a67ca34f8f3 /tests/postgres_tests/fields.py
parent74fe4428e51030cbed768083489f0497f4453c17 (diff)
Fixed #24604 -- Added JSONField to contrib.postgres.
Diffstat (limited to 'tests/postgres_tests/fields.py')
-rw-r--r--tests/postgres_tests/fields.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/postgres_tests/fields.py b/tests/postgres_tests/fields.py
index e21ca1bfcb..0926175e1b 100644
--- a/tests/postgres_tests/fields.py
+++ b/tests/postgres_tests/fields.py
@@ -7,7 +7,7 @@ from django.db import models
try:
from django.contrib.postgres.fields import (
ArrayField, BigIntegerRangeField, DateRangeField, DateTimeRangeField,
- FloatRangeField, HStoreField, IntegerRangeField,
+ FloatRangeField, HStoreField, IntegerRangeField, JSONField,
)
except ImportError:
class DummyArrayField(models.Field):
@@ -29,3 +29,4 @@ except ImportError:
FloatRangeField = models.Field
HStoreField = models.Field
IntegerRangeField = models.Field
+ JSONField = models.Field