blog

0002_auto_20170710_1739.py

1
# -*- coding: utf-8 -*-
2
# Generated by Django 1.11.2 on 2017-07-10 17:39
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
    dependencies = [
12
        ('blog', '0001_initial'),
13
    ]
14
15
    operations = [
16
        migrations.RenameField(
17
            model_name='post',
18
            old_name='file_en',
19
            new_name='english_file',
20
        ),
21
        migrations.RemoveField(
22
            model_name='post',
23
            name='file_de',
24
        ),
25
        migrations.RemoveField(
26
            model_name='post',
27
            name='file_es',
28
        ),
29
        migrations.RemoveField(
30
            model_name='post',
31
            name='file_fr',
32
        ),
33
        migrations.RemoveField(
34
            model_name='post',
35
            name='file_nl',
36
        ),
37
        migrations.AddField(
38
            model_name='post',
39
            name='dutch_file',
40
            field=models.FileField(blank=True, upload_to=blog.models.post_title_directory),
41
        ),
42
        migrations.AddField(
43
            model_name='post',
44
            name='french_file',
45
            field=models.FileField(blank=True, upload_to=blog.models.post_title_directory),
46
        ),
47
        migrations.AddField(
48
            model_name='post',
49
            name='german_file',
50
            field=models.FileField(blank=True, upload_to=blog.models.post_title_directory),
51
        ),
52
        migrations.AddField(
53
            model_name='post',
54
            name='spanish_file',
55
            field=models.FileField(blank=True, upload_to=blog.models.post_title_directory),
56
        ),
57
    ]
58