validate Projects field in organization
[redakcja.git] / apps / attachments / migrations / 0001_initial.py
1 # -*- coding: utf-8 -*-
2 from __future__ import unicode_literals
3
4 from django.db import migrations, models
5
6
7 class Migration(migrations.Migration):
8
9     dependencies = [
10     ]
11
12     operations = [
13         migrations.CreateModel(
14             name='Attachment',
15             fields=[
16                 ('key', models.CharField(help_text='A unique name for this attachment', max_length=255, serialize=False, verbose_name='key', primary_key=True)),
17                 ('attachment', models.FileField(upload_to=b'attachment')),
18             ],
19             options={
20                 'ordering': ('key',),
21                 'verbose_name': 'attachment',
22                 'verbose_name_plural': 'attachments',
23             },
24         ),
25     ]