mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-10 00:03:24 +00:00
26 lines
701 B
Python
26 lines
701 B
Python
# -*- coding: utf-8 -*-
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import migrations, models
|
|
from django.conf import settings
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
dependencies = [("core", "0015_sithfile_moderator")]
|
|
|
|
operations = [
|
|
migrations.AlterField(
|
|
model_name="sithfile",
|
|
name="moderator",
|
|
field=models.ForeignKey(
|
|
on_delete=django.db.models.deletion.CASCADE,
|
|
related_name="moderated_files",
|
|
blank=True,
|
|
null=True,
|
|
to=settings.AUTH_USER_MODEL,
|
|
verbose_name="owner",
|
|
),
|
|
)
|
|
]
|