mirror of
https://github.com/ansible/awx.git
synced 2026-07-07 22:38:04 -02:30
Added setting for using minified JS in production.
This commit is contained in:
@@ -148,6 +148,9 @@ REST_FRAMEWORK = {
|
||||
),
|
||||
}
|
||||
|
||||
# If set, serve only minified JS for UI.
|
||||
USE_MINIFIED_JS = False
|
||||
|
||||
# Email address that error messages come from.
|
||||
SERVER_EMAIL = 'root@localhost'
|
||||
|
||||
|
||||
@@ -18,6 +18,9 @@ SECRET_KEY = None
|
||||
# See https://docs.djangoproject.com/en/dev/ref/settings/#allowed-hosts
|
||||
ALLOWED_HOSTS = []
|
||||
|
||||
# Production should only use minified JS for UI.
|
||||
USE_MINIFIED_JS = True
|
||||
|
||||
# If a local_settings.py file is present here, use it and ignore the global
|
||||
# settings. Normally, local settings would only be present during development.
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user