mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #28626 -- Dropped support for PostgreSQL 9.3.
Thanks Simon Charette for the introspection changes.
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user