summaryrefslogtreecommitdiff
path: root/ishtar_common/migrations/0023_excludedfield.py
blob: 2573219ae599c2f99dbbd3c358cc58e13a2581d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2017-11-17 17:37
from __future__ import unicode_literals

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('ishtar_common', '0022_customform'),
    ]

    operations = [
        migrations.CreateModel(
            name='ExcludedField',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('field', models.CharField(max_length=250, verbose_name='Field')),
                ('custom_form', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='excluded_fields', to='ishtar_common.CustomForm')),
            ],
            options={
                'verbose_name': 'Custom form - excluded field',
                'verbose_name_plural': 'Custom form - excluded fields',
            },
        ),
    ]