This repository has been archived on 2023-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
python-blog/articles/migrations/0008_auto_20200817_1748.py

24 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,
),
),
]