Aggressive caching of settings

This commit is contained in:
Raphael Michel
2016-11-08 14:45:55 +01:00
parent 368d04ae72
commit c53691cb8c
4 changed files with 45 additions and 10 deletions

View File

@@ -49,6 +49,7 @@ class Event(LoggedModel):
:type plugins: str
"""
settings_namespace = 'event'
organizer = models.ForeignKey(Organizer, related_name="events", on_delete=models.PROTECT)
name = I18nCharField(
max_length=200,