mirror of
https://github.com/pretix/pretix.git
synced 2026-05-12 16:24:00 +00:00
add unique_together on EventMetaProperty (organizer, name)
This commit is contained in:
@@ -1841,6 +1841,7 @@ class EventMetaProperty(LoggedModel):
|
|||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
ordering = ("position", "name",)
|
ordering = ("position", "name",)
|
||||||
|
unique_together = ('organizer', 'name')
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def choice_keys(self):
|
def choice_keys(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user