Adds retrieving, monitoring and storing of webclient settings

This commit is contained in:
Simon Vermeersch 2016-12-31 13:25:03 +01:00 committed by Griatch
parent f2e53c873b
commit 221aa362ab
5 changed files with 99 additions and 4 deletions

View file

@ -623,6 +623,17 @@ STATICFILES_IGNORE_PATTERNS = ('README.md',)
# directory names shown in the templates directory.
WEBSITE_TEMPLATE = 'website'
WEBCLIENT_TEMPLATE = 'webclient'
# The default settings used by the webclient
WEBCLIENT_SETTINGS = {
"gagprompt": True, # Gags prompt from the output window and keep them
# together with the input bar
"helppopup": True, # Shows help files in a new popup window
"notification_popup": False, # Shows notifications of new messages as
# popup windows
"notification_sound": False # Plays a sound for notifications of new
# messages
}
# We setup the location of the website template as well as the admin site.
TEMPLATES = [{
'BACKEND': 'django.template.backends.django.DjangoTemplates',