Sith/core/migrations/0011_auto_20161124_0848.py

55 lines
1.5 KiB
Python
Raw Normal View History

2016-11-25 12:47:09 +00:00
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
import django.utils.timezone
2024-06-24 11:07:36 +00:00
from django.db import migrations, models
2016-11-25 12:47:09 +00:00
import core.models
class Migration(migrations.Migration):
2018-10-04 19:29:19 +00:00
dependencies = [("core", "0010_sithfile_is_in_sas")]
2016-11-25 12:47:09 +00:00
operations = [
migrations.AlterField(
2018-10-04 19:29:19 +00:00
model_name="sithfile",
name="compressed",
field=models.FileField(
verbose_name="compressed file",
upload_to=core.models.get_compressed_directory,
null=True,
blank=True,
max_length=256,
),
2016-11-25 12:47:09 +00:00
),
migrations.AlterField(
2018-10-04 19:29:19 +00:00
model_name="sithfile",
name="date",
field=models.DateTimeField(
verbose_name="date", default=django.utils.timezone.now
),
2016-11-25 12:47:09 +00:00
),
migrations.AlterField(
2018-10-04 19:29:19 +00:00
model_name="sithfile",
name="file",
field=models.FileField(
verbose_name="file",
upload_to=core.models.get_directory,
null=True,
blank=True,
max_length=256,
),
2016-11-25 12:47:09 +00:00
),
migrations.AlterField(
2018-10-04 19:29:19 +00:00
model_name="sithfile",
name="thumbnail",
field=models.FileField(
verbose_name="thumbnail",
upload_to=core.models.get_thumbnail_directory,
null=True,
blank=True,
max_length=256,
),
2016-11-25 12:47:09 +00:00
),
]