add migartion

parent 9dfd18a6
# Generated by Django 2.1.2 on 2018-12-19 16:46
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('core', '0002_auto_20180624_1221'),
]
operations = [
migrations.AddField(
model_name='document',
name='correction',
field=models.FileField(blank=True, null=True, upload_to='corrections/'),
),
migrations.AlterField(
model_name='coursecomment',
name='user',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
),
migrations.AlterField(
model_name='document',
name='type',
field=models.CharField(choices=[('Annale', 'Annale'), ('Fiche', 'Fiche'), ('Poly de cours', 'Poly de cours'), ('Notes de cours', 'Notes de cours')], max_length=50, null=True),
),
migrations.AlterField(
model_name='documentcomment',
name='user',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
),
]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment