From 55979f37016aee7043f513dfdc0d4bda302db3ae Mon Sep 17 00:00:00 2001 From: PCoder Date: Wed, 25 Dec 2019 12:09:04 +0530 Subject: [PATCH] Add webhook to installed apps + introduce some webhook constants --- dynamicweb/settings/base.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dynamicweb/settings/base.py b/dynamicweb/settings/base.py index bdbb8f8f..e026245e 100644 --- a/dynamicweb/settings/base.py +++ b/dynamicweb/settings/base.py @@ -153,6 +153,7 @@ INSTALLED_APPS = ( 'rest_framework', 'opennebula_api', 'django_celery_results', + 'webhook', ) 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() )) +WEBHOOK_SECRET = env('WEBHOOK_SECRET') + DEBUG = bool_env('DEBUG') +ADD_TRIAL_PERIOD_TO_SUBSCRIPTION = bool_env('ADD_TRIAL_PERIOD_TO_SUBSCRIPTION') # LDAP setup