admin filters, fix
[audio.git] / src / archive / migrations / 0001_initial.py
index 75c8b92..64d0c1d 100644 (file)
@@ -63,7 +63,7 @@ class Migration(migrations.Migration):
         migrations.AddField(
             model_name='audiobook',
             name='project',
         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,
         ),
     ]
             preserve_default=True,
         ),
     ]