X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/370b43bc681fec1d643887d6c3693d6e10ca27ad..db08dc752e8d1847b15a99b2a1c21c363d744596:/questions/migrations/0001_initial.py?ds=inline diff --git a/questions/migrations/0001_initial.py b/questions/migrations/0001_initial.py index 67986d8..f5627de 100644 --- a/questions/migrations/0001_initial.py +++ b/questions/migrations/0001_initial.py @@ -72,8 +72,8 @@ class Migration(migrations.Migration): fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), ('object_id', models.IntegerField(verbose_name='Object id', db_index=True)), - ('content_type', models.ForeignKey(related_name='questions_tagitem_tagged_items', verbose_name='Content type', to='contenttypes.ContentType')), - ('tag', models.ForeignKey(related_name='items', to='questions.Tag')), + ('content_type', models.ForeignKey(related_name='questions_tagitem_tagged_items', on_delete=models.CASCADE, verbose_name='Content type', to='contenttypes.ContentType')), + ('tag', models.ForeignKey(related_name='items', to='questions.Tag', on_delete=models.CASCADE)), ], options={ 'abstract': False,