Add webhook to installed apps + introduce some webhook constants

This commit is contained in:
PCoder 2019-12-25 12:09:04 +05:30
parent f6832c090e
commit 55979f3701

View file

@ -153,6 +153,7 @@ INSTALLED_APPS = (
'rest_framework', 'rest_framework',
'opennebula_api', 'opennebula_api',
'django_celery_results', 'django_celery_results',
'webhook',
) )
MIDDLEWARE_CLASSES = ( MIDDLEWARE_CLASSES = (
@ -720,7 +721,10 @@ X_FRAME_OPTIONS = ('SAMEORIGIN' if X_FRAME_OPTIONS_ALLOW_FROM_URI is None else
X_FRAME_OPTIONS_ALLOW_FROM_URI.strip() X_FRAME_OPTIONS_ALLOW_FROM_URI.strip()
)) ))
WEBHOOK_SECRET = env('WEBHOOK_SECRET')
DEBUG = bool_env('DEBUG') DEBUG = bool_env('DEBUG')
ADD_TRIAL_PERIOD_TO_SUBSCRIPTION = bool_env('ADD_TRIAL_PERIOD_TO_SUBSCRIPTION')
# LDAP setup # LDAP setup