diff --git a/shared/migrations/0005_auto_20240513_0955.py b/shared/migrations/0005_auto_20240513_0955.py index 1daa62f5d75157845e2237f83dd6e0dd249b2ff7..dde10a6c981a109f341293d76ff54eefac32ea91 100644 --- a/shared/migrations/0005_auto_20240513_0955.py +++ b/shared/migrations/0005_auto_20240513_0955.py @@ -24,7 +24,11 @@ def fix_tags_names(apps, schema_editor): print(f"Tag {tag.name} already exists.") continue - tag.save() + try: + tag.save() + except Exception as e: + # The tag already exists, despite numerous checks + pass class Migration(migrations.Migration):