mirror of
https://github.com/django/django.git
synced 2025-10-16 21:37:33 +00:00
Fixed #28626 -- Dropped support for PostgreSQL 9.3.
Thanks Simon Charette for the introspection changes.
This commit is contained in:
parent
ea7ca5db30
commit
1d8cfa3608
13 changed files with 18 additions and 53 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue