Fixed #28626 -- Dropped support for PostgreSQL 9.3.

Thanks Simon Charette for the introspection changes.
This commit is contained in:
Tim Graham 2017-09-06 10:26:45 -04:00
parent ea7ca5db30
commit 1d8cfa3608
13 changed files with 18 additions and 53 deletions

View file

@ -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):