costs now in json format
This commit is contained in:
parent
826a9ff517
commit
6e642a9785
5 changed files with 24 additions and 9 deletions
|
@ -1,5 +1,6 @@
|
|||
# Generated by Django 4.2.2 on 2023-07-08 20:30
|
||||
# Generated by Django 4.2.2 on 2023-07-09 11:26
|
||||
|
||||
import bird.models
|
||||
from django.conf import settings
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
|
@ -11,9 +12,9 @@ class Migration(migrations.Migration):
|
|||
initial = True
|
||||
|
||||
dependencies = [
|
||||
("rescuer", "0001_initial"),
|
||||
("aviary", "0002_alter_aviary_condition"),
|
||||
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
||||
("aviary", "0002_alter_aviary_condition"),
|
||||
("rescuer", "0001_initial"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
|
@ -82,8 +83,10 @@ class Migration(migrations.Migration):
|
|||
),
|
||||
("diagnostic_finding", models.CharField(max_length=256)),
|
||||
(
|
||||
"cost_sum",
|
||||
models.DecimalField(decimal_places=2, default=0.0, max_digits=5),
|
||||
"costs",
|
||||
models.JSONField(
|
||||
default=bird.models.costs_default, verbose_name="Costs"
|
||||
),
|
||||
),
|
||||
(
|
||||
"aviary",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue