0008_2_refactor_documents.py 1.06 KB
Newer Older
Tom van Bussel's avatar
Tom van Bussel committed
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
from __future__ import unicode_literals
import os

import django.core.validators
from django.db import migrations, models
import django.db.models.deletion
import utils.validators

class Migration(migrations.Migration):

    dependencies = [
        ('documents', '0008_1_refactor_documents'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='GeneralMeeting',
            name='minutes',
        ),

        migrations.DeleteModel(
            name='MiscellaneousDocument',
        ),

        migrations.DeleteModel(
            name='AssociationDocumentsYear',
        ),

        migrations.DeleteModel(
            name='GeneralMeetingDocument',
        ),

        migrations.CreateModel(
            name='MiscellaneousDocument',
            fields=[
            ],
            options={
                'verbose_name': 'Miscellaneous document',
                'verbose_name_plural': 'Miscellaneous documents',
                'proxy': True,
                'indexes': [],
            },
            bases=('documents.document',),
        ),
    ]