-
-
Notifications
You must be signed in to change notification settings - Fork 589
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed allow decimals in food property amount
- Loading branch information
1 parent
dcc56fc
commit 436158f
Showing
4 changed files
with
25 additions
and
6 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
cookbook/migrations/0194_alter_food_properties_food_amount.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Generated by Django 4.1.9 on 2023-06-26 13:28 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('cookbook', '0193_space_internal_note'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='food', | ||
name='properties_food_amount', | ||
field=models.DecimalField(blank=True, decimal_places=2, default=100, max_digits=16), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters