Django-NotesApp/project/notes/migrations/0010_alter_note_owner.py

21 lines
611 B
Python

# Generated by Django 4.1.7 on 2023-03-04 11:06
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('notes', '0009_alter_note_content'),
]
operations = [
migrations.AlterField(
model_name='note',
name='owner',
field=models.ForeignKey(editable=False, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
),
]