mirror of
https://github.com/django/django.git
synced 2025-08-31 07:47:37 +00:00
Fixed #29598 -- Deprecated FloatRangeField in favor of DecimalRangeField.
This commit is contained in:
parent
bc7e288ca9
commit
6de7f9ec60
13 changed files with 126 additions and 42 deletions
|
@ -7,7 +7,7 @@ from django.db import models
|
|||
try:
|
||||
from django.contrib.postgres.fields import (
|
||||
ArrayField, BigIntegerRangeField, CICharField, CIEmailField,
|
||||
CITextField, DateRangeField, DateTimeRangeField, FloatRangeField,
|
||||
CITextField, DateRangeField, DateTimeRangeField, DecimalRangeField,
|
||||
HStoreField, IntegerRangeField, JSONField,
|
||||
)
|
||||
from django.contrib.postgres.search import SearchVectorField
|
||||
|
@ -35,7 +35,7 @@ except ImportError:
|
|||
CITextField = models.Field
|
||||
DateRangeField = models.Field
|
||||
DateTimeRangeField = models.Field
|
||||
FloatRangeField = models.Field
|
||||
DecimalRangeField = models.Field
|
||||
HStoreField = models.Field
|
||||
IntegerRangeField = models.Field
|
||||
JSONField = DummyJSONField
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue