summaryrefslogtreecommitdiff
path: root/ishtar_common/migrations/0094_auto_20190429_1041.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/migrations/0094_auto_20190429_1041.py')
-rw-r--r--ishtar_common/migrations/0094_auto_20190429_1041.py39
1 files changed, 39 insertions, 0 deletions
diff --git a/ishtar_common/migrations/0094_auto_20190429_1041.py b/ishtar_common/migrations/0094_auto_20190429_1041.py
new file mode 100644
index 000000000..6b068b2dc
--- /dev/null
+++ b/ishtar_common/migrations/0094_auto_20190429_1041.py
@@ -0,0 +1,39 @@
+# -*- coding: utf-8 -*-
+# Generated by Django 1.11.18 on 2019-04-29 10:41
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('ishtar_common', '0093_auto_20190429_0950'),
+ ]
+
+ operations = [
+ migrations.AlterModelOptions(
+ name='documenttemplate',
+ options={'ordering': ['associated_model', 'name'], 'verbose_name': 'Patron de document', 'verbose_name_plural': 'Patrons de document'},
+ ),
+ migrations.RemoveField(
+ model_name='documenttemplate',
+ name='associated_object_name',
+ ),
+ migrations.AddField(
+ model_name='documenttemplate',
+ name='for_labels',
+ field=models.BooleanField(default=False, verbose_name='Used for labels'),
+ ),
+ migrations.AddField(
+ model_name='documenttemplate',
+ name='label_per_page',
+ field=models.IntegerField(blank=True, help_text='Only relevant for label template', null=True, verbose_name='Number of label per page'),
+ ),
+ migrations.AlterField(
+ model_name='documenttemplate',
+ name='associated_model',
+ field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='ishtar_common.ImporterModel'),
+ ),
+ ]