mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Include global settings in event/organizer settings
Also, add tests
This commit is contained in:
committed by
Raphael Michel
parent
c647aa9f4e
commit
c5fdf7c215
@@ -58,7 +58,8 @@ class Organizer(LoggedModel):
|
||||
"""
|
||||
Returns an object representing this organizer's settings
|
||||
"""
|
||||
return SettingsProxy(self, type=OrganizerSetting)
|
||||
from pretix.base.settings import GlobalSettingsObject
|
||||
return SettingsProxy(self, type=OrganizerSetting, parent=GlobalSettingsObject())
|
||||
|
||||
def get_cache(self) -> "pretix.base.cache.ObjectRelatedCache":
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user