github.com/ahjdzx/deis@v1.1.1/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