github.com/mgood/deis@v1.0.2-0.20141120022609-9a185b756e7d/controller/registry/__init__.py (about) 1 import importlib 2 3 from django.conf import settings 4 5 # import the registry module specified in settings 6 _registry_module = importlib.import_module(settings.REGISTRY_MODULE) 7 8 # expose the publish_release method publicly 9 publish_release = _registry_module.publish_release