If duplicated EventMetaProperties can not be merged, make sure the "_DUPLICATE_" ones are not publicly visible

This commit is contained in:
Mira Weller
2026-06-26 15:10:45 +02:00
parent 96327f0f38
commit f797ead5c4
@@ -70,6 +70,7 @@ def make_eventmetaproperties_unique(apps, schema_editor):
newname = f'{prop.name}_DUPLICATE_{prop.id}'
logger.info(f" Renaming {prop.name}({prop.id}@{prop.organizer.slug}) to {newname}({prop.id}@{prop.organizer.slug})")
prop.name = newname
prop.filter_public = False
prop.save()
else: