X-Git-Url: https://git.mdrn.pl/audio.git/blobdiff_plain/c7d2e4daae13c7c1100ec0d42ace0e8c34b5ae24..4c89a14f13fe5d7dd3a6d2488dd08067a652c10d:/src/archive/migrations/0001_initial.py diff --git a/src/archive/migrations/0001_initial.py b/src/archive/migrations/0001_initial.py index 75c8b92..64d0c1d 100644 --- a/src/archive/migrations/0001_initial.py +++ b/src/archive/migrations/0001_initial.py @@ -63,7 +63,7 @@ class Migration(migrations.Migration): migrations.AddField( model_name='audiobook', name='project', - field=models.ForeignKey(verbose_name='project', to='archive.Project'), + field=models.ForeignKey(verbose_name='project', to='archive.Project', on_delete=models.CASCADE), preserve_default=True, ), ]