diff options
Diffstat (limited to 'tests/postgres_tests/models.py')
| -rw-r--r-- | tests/postgres_tests/models.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/postgres_tests/models.py b/tests/postgres_tests/models.py index b7094b77e1..fa390daaa8 100644 --- a/tests/postgres_tests/models.py +++ b/tests/postgres_tests/models.py @@ -140,13 +140,10 @@ class RangeLookupsModel(PostgreSQLModel): date = models.DateField(blank=True, null=True) -class JSONModel(models.Model): +class JSONModel(PostgreSQLModel): field = JSONField(blank=True, null=True) field_custom = JSONField(blank=True, null=True, encoder=DjangoJSONEncoder) - class Meta: - required_db_features = ['has_jsonb_datatype'] - class ArrayFieldSubclass(ArrayField): def __init__(self, *args, **kwargs): |
