0001_initial.py
1 |
|
2 |
# Generated by Django 1.11.2 on 2017-07-10 14:29 |
3 |
from __future__ import unicode_literals |
4 |
|
5 |
import blog.models |
6 |
from django.db import migrations, models |
7 |
|
8 |
|
9 |
class Migration(migrations.Migration): |
10 |
|
11 |
initial = True |
12 |
|
13 |
dependencies = [ |
14 |
] |
15 |
|
16 |
operations = [ |
17 |
migrations.CreateModel( |
18 |
name='Post', |
19 |
fields=[ |
20 |
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), |
21 |
('published', models.DateTimeField(auto_now_add=True)), |
22 |
('file_de', models.FileField(blank=True, unique=True, upload_to=blog.models.post_title_directory)), |
23 |
('file_es', models.FileField(blank=True, unique=True, upload_to=blog.models.post_title_directory)), |
24 |
('file_en', models.FileField(unique=True, upload_to=blog.models.post_title_directory)), |
25 |
('file_fr', models.FileField(blank=True, unique=True, upload_to=blog.models.post_title_directory)), |
26 |
('file_nl', models.FileField(blank=True, unique=True, upload_to=blog.models.post_title_directory)), |
27 |
], |
28 |
), |
29 |
] |
30 |