Add migration update to tracker
- Author
- Maarten Vangeneugden
- Date
- Jan. 22, 2018, 11:15 p.m.
- Hash
- 01e44c16a70c5fad516e2457960af1462000800b
- Parent
- 6889c98ffa4c78bb57df7821c127a77f18c426a0
- Modified file
- migrations/0002_auto_20170710_1739.py
migrations/0002_auto_20170710_1739.py ¶
57 additions and 0 deletions.
View changes Hide changes
+ |
1 |
# Generated by Django 1.11.2 on 2017-07-10 17:39 |
+ |
2 |
from __future__ import unicode_literals |
+ |
3 |
|
+ |
4 |
import blog.models |
+ |
5 |
from django.db import migrations, models |
+ |
6 |
|
+ |
7 |
|
+ |
8 |
class Migration(migrations.Migration): |
+ |
9 |
|
+ |
10 |
dependencies = [ |
+ |
11 |
('blog', '0001_initial'), |
+ |
12 |
] |
+ |
13 |
|
+ |
14 |
operations = [ |
+ |
15 |
migrations.RenameField( |
+ |
16 |
model_name='post', |
+ |
17 |
old_name='file_en', |
+ |
18 |
new_name='english_file', |
+ |
19 |
), |
+ |
20 |
migrations.RemoveField( |
+ |
21 |
model_name='post', |
+ |
22 |
name='file_de', |
+ |
23 |
), |
+ |
24 |
migrations.RemoveField( |
+ |
25 |
model_name='post', |
+ |
26 |
name='file_es', |
+ |
27 |
), |
+ |
28 |
migrations.RemoveField( |
+ |
29 |
model_name='post', |
+ |
30 |
name='file_fr', |
+ |
31 |
), |
+ |
32 |
migrations.RemoveField( |
+ |
33 |
model_name='post', |
+ |
34 |
name='file_nl', |
+ |
35 |
), |
+ |
36 |
migrations.AddField( |
+ |
37 |
model_name='post', |
+ |
38 |
name='dutch_file', |
+ |
39 |
field=models.FileField(blank=True, upload_to=blog.models.post_title_directory), |
+ |
40 |
), |
+ |
41 |
migrations.AddField( |
+ |
42 |
model_name='post', |
+ |
43 |
name='french_file', |
+ |
44 |
field=models.FileField(blank=True, upload_to=blog.models.post_title_directory), |
+ |
45 |
), |
+ |
46 |
migrations.AddField( |
+ |
47 |
model_name='post', |
+ |
48 |
name='german_file', |
+ |
49 |
field=models.FileField(blank=True, upload_to=blog.models.post_title_directory), |
+ |
50 |
), |
+ |
51 |
migrations.AddField( |
+ |
52 |
model_name='post', |
+ |
53 |
name='spanish_file', |
+ |
54 |
field=models.FileField(blank=True, upload_to=blog.models.post_title_directory), |
+ |
55 |
), |
+ |
56 |
] |
+ |
57 |