Commit 962f2ff5 by Bessie Steinberg

Merge branch 'bfiller/debug-and-enterprise' into bessie-local

parents c8a81c59 f3d144c0
......@@ -112,5 +112,9 @@ if __name__ == "__main__":
startup.run()
from django.core.management import execute_from_command_line
import ptvsd
try:
ptvsd.enable_attach("my_secret", address = ('0.0.0.0', 21000))
except:
pass
execute_from_command_line([sys.argv[0]] + django_args)
......@@ -322,7 +322,9 @@ def enterprise_enabled():
"""
Determines whether the Enterprise app is installed
"""
return 'enterprise' in settings.INSTALLED_APPS and settings.FEATURES.get('ENABLE_ENTERPRISE_INTEGRATION', False)
is_enabled = 'enterprise' in settings.INSTALLED_APPS and settings.FEATURES.get('ENABLE_ENTERPRISE_INTEGRATION', False)
LOGGER.warning("BF!! enterprise enabled=%s", is_enabled)
return is_enabled
def enterprise_customer_uuid_for_request(request):
......
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