diff options
| author | Stefano Chiodino <StefanoChiodino@users.noreply.github.com> | 2018-10-03 00:17:23 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-10-02 19:17:23 -0400 |
| commit | 6de7f9ec60fbdc59797bc21803f16260bd203f04 (patch) | |
| tree | af6012d5445e55b6b42e1dc3625e8c8e43c641b6 /tests/postgres_tests/migrations | |
| parent | bc7e288ca9554ac1a0a19941302dea19df1acd21 (diff) | |
Fixed #29598 -- Deprecated FloatRangeField in favor of DecimalRangeField.
Diffstat (limited to 'tests/postgres_tests/migrations')
| -rw-r--r-- | tests/postgres_tests/migrations/0002_create_test_models.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/postgres_tests/migrations/0002_create_test_models.py b/tests/postgres_tests/migrations/0002_create_test_models.py index 0e7ba938ca..5db8a71385 100644 --- a/tests/postgres_tests/migrations/0002_create_test_models.py +++ b/tests/postgres_tests/migrations/0002_create_test_models.py @@ -3,7 +3,7 @@ from django.db import migrations, models from ..fields import ( ArrayField, BigIntegerRangeField, CICharField, CIEmailField, CITextField, - DateRangeField, DateTimeRangeField, FloatRangeField, HStoreField, + DateRangeField, DateTimeRangeField, DecimalRangeField, HStoreField, IntegerRangeField, JSONField, SearchVectorField, ) from ..models import TagField @@ -209,7 +209,7 @@ class Migration(migrations.Migration): ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), ('ints', IntegerRangeField(null=True, blank=True)), ('bigints', BigIntegerRangeField(null=True, blank=True)), - ('floats', FloatRangeField(null=True, blank=True)), + ('decimals', DecimalRangeField(null=True, blank=True)), ('timestamps', DateTimeRangeField(null=True, blank=True)), ('dates', DateRangeField(null=True, blank=True)), ], |
