From 64c013c7de87e201ebc98e625dec8a6bfd4c3250 Mon Sep 17 00:00:00 2001 From: m5ka Date: Wed, 27 Mar 2024 12:40:30 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=E2=9C=8F=EF=B8=8F=20increase=20recipe?= =?UTF-8?q?=20instruction=20max=20length?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../0009_alter_recipestep_instructions.py | 18 ++++++++++++++++++ moku/models/recipe.py | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 moku/migrations/0009_alter_recipestep_instructions.py diff --git a/moku/migrations/0009_alter_recipestep_instructions.py b/moku/migrations/0009_alter_recipestep_instructions.py new file mode 100644 index 0000000..ebd6112 --- /dev/null +++ b/moku/migrations/0009_alter_recipestep_instructions.py @@ -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'), + ), + ] diff --git a/moku/models/recipe.py b/moku/models/recipe.py index d921a78..72d4d58 100644 --- a/moku/models/recipe.py +++ b/moku/models/recipe.py @@ -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!"