示例#1
0
文件: __init__.py 项目: charn/shoop
 def ready(self):
     validate_templates_configuration()
示例#2
0
 def ready(self):
     validate_templates_configuration()
示例#3
0
    def ready(self):
        from shoop.core.order_creator.signals import order_creator_finished
        from shoop.admin.modules.orders.receivers import handle_custom_payment_return_requests

        order_creator_finished.connect(handle_custom_payment_return_requests, dispatch_uid='shoop.admin.order_create')
        validate_templates_configuration()
示例#4
0
 def ready(self):
     validate_templates_configuration()
     if django.conf.settings.SHOOP_FRONT_INSTALL_ERROR_HANDLERS:
         from .error_handling import install_error_handlers
         install_error_handlers()
示例#5
0
文件: __init__.py 项目: Jeewes/shoop
    def ready(self):
        validate_templates_configuration()

        if settings.SHOOP_FRONT_INSTALL_ERROR_HANDLERS:
            from .error_handling import install_error_handlers
            install_error_handlers()