summaryrefslogtreecommitdiff
path: root/ishtar_common/migrations/0210_auto_20210106_1127.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/migrations/0210_auto_20210106_1127.py')
-rw-r--r--ishtar_common/migrations/0210_auto_20210106_1127.py30
1 files changed, 30 insertions, 0 deletions
diff --git a/ishtar_common/migrations/0210_auto_20210106_1127.py b/ishtar_common/migrations/0210_auto_20210106_1127.py
new file mode 100644
index 000000000..3dcf7e7ce
--- /dev/null
+++ b/ishtar_common/migrations/0210_auto_20210106_1127.py
@@ -0,0 +1,30 @@
+# -*- coding: utf-8 -*-
+# Generated by Django 1.11.27 on 2021-01-06 11:27
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('ishtar_common', '0209_auto_20210105_1712'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='documenttemplate',
+ name='label_targets',
+ field=models.TextField(blank=True, help_text='Each target is separated by a semi-colon. The first target is the name of the object including the data in base template. Following targets will be filled with the content of the first target. For instance: "Cadre1;Cadre2;Cadre3;Cadre4;Cadre5;Cadre6" for a sheet with 6 labels.', null=True, verbose_name='Labels: targets for labels in the LibreOffice file'),
+ ),
+ migrations.AddField(
+ model_name='documenttemplate',
+ name='label_template',
+ field=models.FileField(blank=True, help_text='La taille maximale supportée pour le fichier est de 100 Mo.', null=True, upload_to='templates/%Y/', verbose_name='Base template for labels'),
+ ),
+ migrations.AlterField(
+ model_name='documenttemplate',
+ name='template',
+ field=models.FileField(blank=True, help_text='La taille maximale supportée pour le fichier est de 100 Mo.', null=True, upload_to='templates/%Y/', verbose_name='Template'),
+ ),
+ ]