本文整理汇总了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)
示例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)
示例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)
示例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)
示例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)
示例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)