Skip to content
Snippets Groups Projects
Commit 2ee4204c authored by Alexa Valentová's avatar Alexa Valentová
Browse files

fix tag migration

parent 79078fea
No related branches found
No related tags found
2 merge requests!997Release,!995Release
......@@ -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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment