summaryrefslogtreecommitdiff
path: root/tests/db_functions/migrations/0002_create_test_models.py
diff options
context:
space:
mode:
authorNick Pope <nick.pope@flightdataservices.com>2021-03-24 22:29:33 +0000
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-03-29 09:43:08 +0200
commit2f13c476abe4ba787b6cb71131818341911f43cc (patch)
tree444e1f2af12c8927f7e01db3f488998b0f305a8c /tests/db_functions/migrations/0002_create_test_models.py
parent61d5e57353bb811df7b5457a1856baee31299429 (diff)
Fixed #31487 -- Added precision argument to Round().
Diffstat (limited to 'tests/db_functions/migrations/0002_create_test_models.py')
-rw-r--r--tests/db_functions/migrations/0002_create_test_models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/db_functions/migrations/0002_create_test_models.py b/tests/db_functions/migrations/0002_create_test_models.py
index aa3e247bd5..3699d67a6f 100644
--- a/tests/db_functions/migrations/0002_create_test_models.py
+++ b/tests/db_functions/migrations/0002_create_test_models.py
@@ -56,7 +56,7 @@ class Migration(migrations.Migration):
name='DecimalModel',
fields=[
('n1', models.DecimalField(decimal_places=2, max_digits=6)),
- ('n2', models.DecimalField(decimal_places=2, max_digits=6)),
+ ('n2', models.DecimalField(decimal_places=7, max_digits=9, null=True, blank=True)),
],
),
migrations.CreateModel(