Add TERMS_OF_SERVICE setting.

This new setting allows the server administrator to add a custom
Terms of Service page by supplying the path to a markdown file.

Also adds a test.
This commit is contained in:
acrefoot
2016-05-11 10:01:53 -07:00
committed by Tim Abbott
parent 700e803840
commit e568dbc76f
13 changed files with 86 additions and 9 deletions

View File

@@ -21,5 +21,6 @@ EXTRA_INSTALLED_APPS = ["zilencer", "analytics"]
# Disable Camo in development
CAMO_URI = ''
OPEN_REALM_CREATION = True
TERMS_OF_SERVICE = 'zproject/terms.md.template'
SAVE_FRONTEND_STACKTRACES = True