github.com/technosophos/deis@v1.7.1-0.20150915173815-f9005256004b/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