Add pre hopped lme as type of malt
This commit is contained in:
parent
332aa77246
commit
2dd52d1a33
2 changed files with 27 additions and 0 deletions
26
reinheit/apps/ingredients/migrations/0004_alter_malt_kind.py
Normal file
26
reinheit/apps/ingredients/migrations/0004_alter_malt_kind.py
Normal file
|
|
@ -0,0 +1,26 @@
|
||||||
|
# Generated by Django 5.0.6 on 2024-06-28 20:03
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
("ingredients", "0003_rename_hops_hop"),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name="malt",
|
||||||
|
name="kind",
|
||||||
|
field=models.CharField(
|
||||||
|
choices=[
|
||||||
|
("DME", "Dry Malt Extract"),
|
||||||
|
("LME", "Liquid Malt Extract"),
|
||||||
|
("MALT", "Malted Grain"),
|
||||||
|
("KIT", "Pre Hopped Liquid Malt Extract"),
|
||||||
|
],
|
||||||
|
max_length=4,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
]
|
||||||
|
|
@ -39,6 +39,7 @@ class Malt(Ingredient):
|
||||||
DME = "DME", "Dry Malt Extract"
|
DME = "DME", "Dry Malt Extract"
|
||||||
LME = "LME", "Liquid Malt Extract"
|
LME = "LME", "Liquid Malt Extract"
|
||||||
MALT = "MALT", "Malted Grain"
|
MALT = "MALT", "Malted Grain"
|
||||||
|
KIT = "KIT", "Pre Hopped Liquid Malt Extract"
|
||||||
|
|
||||||
UNIT = "kg"
|
UNIT = "kg"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue