fix: ✏️ increase recipe instruction max length

This commit is contained in:
m5ka 2024-03-27 12:40:30 +00:00
parent fce8aa19ed
commit 64c013c7de
2 changed files with 19 additions and 1 deletions

View 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'),
),
]

View file

@ -61,7 +61,7 @@ class RecipeStep(models.Model):
) )
instructions = models.CharField( instructions = models.CharField(
verbose_name=_("step instructions"), verbose_name=_("step instructions"),
max_length=128, max_length=256,
help_text=_( help_text=_(
"the instructions for this step of the recipe. try to keep it clear and " "the instructions for this step of the recipe. try to keep it clear and "
"concise!" "concise!"