mirror of
https://github.com/pretix/pretix.git
synced 2026-08-06 10:07:50 +00:00
If duplicated EventMetaProperties can not be merged, make sure the "_DUPLICATE_" ones are not publicly visible
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user