Add a view for GlobalSettings

This commit is contained in:
Tobias Kunze
2016-10-27 08:18:59 +02:00
committed by Raphael Michel
parent 02fd0a8e06
commit c647aa9f4e
8 changed files with 127 additions and 5 deletions

View File

@@ -305,7 +305,7 @@ Your {event} team"""))
class SettingsProxy:
"""
This objects allows convenient access to settings stored in the
This object allows convenient access to settings stored in the
EventSettings/OrganizerSettings database model. It exposes all settings as
properties and it will do all the nasty inheritance and defaults stuff for
you.
@@ -442,7 +442,7 @@ class SettingsProxy:
def set(self, key: str, value: Any) -> None:
"""
Stores a setting to the database of this object.
Stores a setting to the database of its object.
"""
if key in self._cache():
s = self._cache()[key]