mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-12 12:59:24 +00:00
django2.2: add on_delete on migrations for ForeignKey
This commit is contained in:
@ -29,6 +29,7 @@ class Migration(migrations.Migration):
|
||||
related_name="labels",
|
||||
verbose_name="club account",
|
||||
to="accounting.ClubAccount",
|
||||
on_delete=django.db.models.deletion.CASCADE,
|
||||
),
|
||||
),
|
||||
],
|
||||
|
Reference in New Issue
Block a user