コード例 #1
0
ファイル: hooks.py プロジェクト: Anlim/wagtail
def search_for_hooks():
    global _searched_for_hooks
    if not _searched_for_hooks:
        list(get_app_submodules('wagtail_hooks'))
        _searched_for_hooks = True
コード例 #2
0
def search_for_image_formats():
    global _searched_for_image_formats
    if not _searched_for_image_formats:
        list(get_app_submodules('image_formats'))
        _searched_for_image_formats = True
コード例 #3
0
ファイル: formats.py プロジェクト: morris-tech/wagtail
def search_for_image_formats():
    global _searched_for_image_formats
    if not _searched_for_image_formats:
        list(get_app_submodules('image_formats'))
        _searched_for_image_formats = True
コード例 #4
0
ファイル: hooks.py プロジェクト: nwaxiomatic/PostVision
def search_for_hooks():
    global _searched_for_hooks
    if not _searched_for_hooks:
        list(get_app_submodules('wagtail_hooks'))
        _searched_for_hooks = True