diff --git a/src/authentic2_cut/custom_settings.py b/src/authentic2_cut/custom_settings.py index 44baa28..0ef2908 100644 --- a/src/authentic2_cut/custom_settings.py +++ b/src/authentic2_cut/custom_settings.py @@ -2,7 +2,7 @@ from authentic2.settings import INSTALLED_APPS, CACHES import os -PLATFORM = os.environ.get('PLATFORM') +PLATFORM = vars().get('PLATFORM') if PLATFORM not in ['dev', 'test', 'prod']: PLATFORM = 'prod'