Пример #1
0
 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
    def ready(self):
        validate_templates_configuration()

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