From a08660314e95e71482dfd42e85d77355aabd52b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ses=C3=B3stris=20Vieira?= Date: Fri, 13 May 2022 21:36:28 -0300 Subject: [PATCH] =?UTF-8?q?Migrate=20da=20refatora=C3=A7=C3=A3o=20de=20cam?= =?UTF-8?q?pos=20com=20placeholder?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...23_alter_projeto_modelo_minuta_and_more.py | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 sigi/apps/convenios/migrations/0023_alter_projeto_modelo_minuta_and_more.py diff --git a/sigi/apps/convenios/migrations/0023_alter_projeto_modelo_minuta_and_more.py b/sigi/apps/convenios/migrations/0023_alter_projeto_modelo_minuta_and_more.py new file mode 100644 index 0000000..a4a0fb6 --- /dev/null +++ b/sigi/apps/convenios/migrations/0023_alter_projeto_modelo_minuta_and_more.py @@ -0,0 +1,25 @@ +# Generated by Django 4.0.4 on 2022-05-10 12:07 + +import django.core.validators +from django.db import migrations, models +import tinymce.models + + +class Migration(migrations.Migration): + + dependencies = [ + ('convenios', '0022_remove_projeto_texto_minuta_projeto_modelo_minuta'), + ] + + operations = [ + migrations.AlterField( + model_name='projeto', + name='modelo_minuta', + field=models.FileField(blank=True, help_text='\nUtilize os seguintes placeholders\n\n', upload_to='convenios/minutas/', validators=[django.core.validators.FileExtensionValidator(['docx'])], verbose_name='Modelo de minuta'), + ), + migrations.AlterField( + model_name='projeto', + name='texto_oficio', + field=tinymce.models.HTMLField(blank=True, help_text='\nUtilize os seguintes placeholders\n\n', verbose_name='texto do ofício'), + ), + ]