Commit 1277dfbf authored by Matías Alarcón's avatar Matías Alarcón

print env

parent 4324ccfe
Pipeline #7181 passed with stages
in 17 minutes and 1 second
......@@ -22,11 +22,16 @@ from django.utils.translation import ugettext_lazy as _
# local settings
if 'CIRCLECI' in os.environ:
local_settings = import_module('project.circleci_settings')
print("CIRCLECI")
elif 'CI' in os.environ:
print("CI")
local_settings = import_module('project.gitlabci_settings')
else:
print("LOCAL")
local_settings = import_module('project.local_settings')
print(local_settings)
DEBUG = local_settings.DEBUG
LOCAL_DATABASES = local_settings.LOCAL_DATABASES
LOCALLY_INSTALLED_APPS = local_settings.LOCALLY_INSTALLED_APPS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment