0009_auto_20161120_1155.py 1.04 KB
Newer Older
Skia's avatar
Skia 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
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

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


class Migration(migrations.Migration):

    dependencies = [
        ('core', '0008_sithfile_asked_for_removal'),
    ]

    operations = [
        migrations.AddField(
            model_name='sithfile',
            name='compressed',
            field=models.FileField(upload_to=core.models.get_compressed_directory, null=True, verbose_name='compressed file', blank=True),
        ),
        migrations.AddField(
            model_name='sithfile',
            name='thumbnail',
            field=models.FileField(upload_to=core.models.get_thumbnail_directory, null=True, verbose_name='thumbnail', blank=True),
        ),
        migrations.AlterField(
            model_name='user',
            name='home',
            field=models.OneToOneField(verbose_name='home', related_name='home_of', on_delete=django.db.models.deletion.SET_NULL, null=True, to='core.SithFile', blank=True),
        ),
    ]