mirror of
https://github.com/ansible/awx.git
synced 2026-02-17 03:00:04 -03:30
Add uncached template loaders to development settings
This commit is contained in:
@@ -26,6 +26,12 @@ MONGO_USERNAME = None
|
|||||||
MONGO_PASSWORD = None
|
MONGO_PASSWORD = None
|
||||||
MONGO_DB = 'system_tracking_dev'
|
MONGO_DB = 'system_tracking_dev'
|
||||||
|
|
||||||
|
# Override django.template.loaders.cached.Loader in defaults.py
|
||||||
|
TEMPLATE_LOADERS = (
|
||||||
|
'django.template.loaders.filesystem.Loader',
|
||||||
|
'django.template.loaders.app_directories.Loader',
|
||||||
|
)
|
||||||
|
|
||||||
# Disable capturing all SQL queries when running celeryd in development.
|
# Disable capturing all SQL queries when running celeryd in development.
|
||||||
if 'celeryd' in sys.argv:
|
if 'celeryd' in sys.argv:
|
||||||
SQL_DEBUG = False
|
SQL_DEBUG = False
|
||||||
|
|||||||
Reference in New Issue
Block a user