mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-22 22:23:23 +00:00
55 lines
1.5 KiB
Python
55 lines
1.5 KiB
Python
# -*- coding: utf-8 -*-
|
|
from __future__ import unicode_literals
|
|
|
|
import django.utils.timezone
|
|
from django.db import migrations, models
|
|
|
|
import core.models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
dependencies = [("core", "0010_sithfile_is_in_sas")]
|
|
|
|
operations = [
|
|
migrations.AlterField(
|
|
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,
|
|
),
|
|
),
|
|
migrations.AlterField(
|
|
model_name="sithfile",
|
|
name="date",
|
|
field=models.DateTimeField(
|
|
verbose_name="date", default=django.utils.timezone.now
|
|
),
|
|
),
|
|
migrations.AlterField(
|
|
model_name="sithfile",
|
|
name="file",
|
|
field=models.FileField(
|
|
verbose_name="file",
|
|
upload_to=core.models.get_directory,
|
|
null=True,
|
|
blank=True,
|
|
max_length=256,
|
|
),
|
|
),
|
|
migrations.AlterField(
|
|
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,
|
|
),
|
|
),
|
|
]
|