當前位置: 首頁>>代碼示例>>Python>>正文


Python runner.setup方法代碼示例

本文整理匯總了Python中djangocms_helper.runner.setup方法的典型用法代碼示例。如果您正苦於以下問題:Python runner.setup方法的具體用法?Python runner.setup怎麽用?Python runner.setup使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在djangocms_helper.runner的用法示例。


在下文中一共展示了runner.setup方法的6個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。

示例1: setup

# 需要導入模塊: from djangocms_helper import runner [as 別名]
# 或者: from djangocms_helper.runner import setup [as 別名]
def setup():
    import sys
    from djangocms_helper import runner
    runner.setup('filer_celery', sys.modules[__name__], use_cms=False) 
開發者ID:nephila,項目名稱:django-filer-celery,代碼行數:6,代碼來源:helper.py

示例2: setup

# 需要導入模塊: from djangocms_helper import runner [as 別名]
# 或者: from djangocms_helper.runner import setup [as 別名]
def setup():
    import sys
    from djangocms_helper import runner
    runner.setup('djangocms_rest_view', sys.modules[__name__], use_cms=False) 
開發者ID:nephila,項目名稱:djangocms-rest-view,代碼行數:6,代碼來源:cms_helper.py

示例3: setup

# 需要導入模塊: from djangocms_helper import runner [as 別名]
# 或者: from djangocms_helper.runner import setup [as 別名]
def setup():
    import sys
    from djangocms_helper import runner
    runner.setup('cms_contact', sys.modules[__name__], use_cms=True) 
開發者ID:python-spain,項目名稱:djangocms-association,代碼行數:6,代碼來源:cms_helper.py

示例4: setup

# 需要導入模塊: from djangocms_helper import runner [as 別名]
# 或者: from djangocms_helper.runner import setup [as 別名]
def setup():
    import sys
    from djangocms_helper import runner
    runner.setup('knocker', sys.modules[__name__], use_cms=False) 
開發者ID:nephila,項目名稱:django-knocker,代碼行數:6,代碼來源:cms_helper.py

示例5: setup

# 需要導入模塊: from djangocms_helper import runner [as 別名]
# 或者: from djangocms_helper.runner import setup [as 別名]
def setup():
    import sys
    from djangocms_helper import runner
    runner.setup('djangocms_redirect', sys.modules[__name__], use_cms=True) 
開發者ID:nephila,項目名稱:djangocms-redirect,代碼行數:6,代碼來源:cms_helper.py

示例6: setup

# 需要導入模塊: from djangocms_helper import runner [as 別名]
# 或者: from djangocms_helper.runner import setup [as 別名]
def setup():
    import sys
    from djangocms_helper import runner
    runner.setup('djangocms_multisite', sys.modules[__name__], use_cms=True) 
開發者ID:nephila,項目名稱:djangocms-multisite,代碼行數:6,代碼來源:cms_helper.py


注:本文中的djangocms_helper.runner.setup方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。