25 lines
586 B
Python
25 lines
586 B
Python
|
# Generated by Django 3.1 on 2020-08-17 15:48
|
||
|
|
||
|
import django.db.models.deletion
|
||
|
from django.conf import settings
|
||
|
from django.db import migrations, models
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
dependencies = [
|
||
|
("articles", "0007_auto_20200817_0941"),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.AlterField(
|
||
|
model_name="article",
|
||
|
name="author",
|
||
|
field=models.ForeignKey(
|
||
|
default=1,
|
||
|
on_delete=django.db.models.deletion.PROTECT,
|
||
|
to=settings.AUTH_USER_MODEL,
|
||
|
),
|
||
|
),
|
||
|
]
|