fix: ✏️ increase recipe instruction max length
This commit is contained in:
parent
fce8aa19ed
commit
64c013c7de
2 changed files with 19 additions and 1 deletions
18
moku/migrations/0009_alter_recipestep_instructions.py
Normal file
18
moku/migrations/0009_alter_recipestep_instructions.py
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# Generated by Django 5.0.3 on 2024-03-27 12:40
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('moku', '0008_blogpost'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='recipestep',
|
||||
name='instructions',
|
||||
field=models.CharField(help_text='the instructions for this step of the recipe. try to keep it clear and concise!', max_length=256, verbose_name='step instructions'),
|
||||
),
|
||||
]
|
||||
|
|
@ -61,7 +61,7 @@ class RecipeStep(models.Model):
|
|||
)
|
||||
instructions = models.CharField(
|
||||
verbose_name=_("step instructions"),
|
||||
max_length=128,
|
||||
max_length=256,
|
||||
help_text=_(
|
||||
"the instructions for this step of the recipe. try to keep it clear and "
|
||||
"concise!"
|
||||
|
|
|
|||
Loading…
Reference in a new issue