site_tps/content/migrations/0007_auto_20180309_1315.py
2018-03-09 13:18:03 +01:00

25 lines
752 B
Python

# Generated by Django 2.0.1 on 2018-03-09 12:15
import content.models
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('content', '0006_auto_20180309_1257'),
]
operations = [
migrations.AlterField(
model_name='content',
name='file',
field=models.FileField(upload_to=content.models.get_upload_to, validators=[content.models.validate_file_extension], verbose_name='Fichier'),
),
migrations.AlterField(
model_name='content',
name='school_owner',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='users.School'),
),
]