예제 #1
0
    def ready(self):
        from shuup.core.order_creator.signals import order_creator_finished
        from shuup.admin.modules.orders.receivers import handle_custom_payment_return_requests

        order_creator_finished.connect(handle_custom_payment_return_requests,
                                       dispatch_uid='shuup.admin.handle_cash_payments')
        validate_templates_configuration()
예제 #2
0
    def ready(self):
        from shuup.core.order_creator.signals import order_creator_finished
        from shuup.admin.modules.orders.receivers import handle_custom_payment_return_requests

        order_creator_finished.connect(handle_custom_payment_return_requests,
                                       dispatch_uid='shuup.admin.handle_cash_payments')
        validate_templates_configuration()
예제 #3
0
    def ready(self):
        # connect signals
        import shuup.front.notify_events  # noqa: F401

        validate_templates_configuration()
        if django.conf.settings.SHUUP_FRONT_INSTALL_ERROR_HANDLERS:
            from .error_handling import install_error_handlers
            install_error_handlers()
예제 #4
0
    def ready(self):
        # connect signals
        import shuup.front.notify_events  # noqa: F401

        validate_templates_configuration()
예제 #5
0
파일: __init__.py 프로젝트: rrosajp/shuup
    def ready(self):
        import shuup.admin.signal_handling  # noqa (F401)

        validate_templates_configuration()
예제 #6
0
 def ready(self):
     validate_templates_configuration()
     if django.conf.settings.SHUUP_FRONT_INSTALL_ERROR_HANDLERS:
         from .error_handling import install_error_handlers
         install_error_handlers()
예제 #7
0
파일: __init__.py 프로젝트: gurch101/shuup
    def ready(self):
        # connect signals
        import shuup.front.notify_events  # noqa: F401

        validate_templates_configuration()
예제 #8
0
 def ready(self):
     validate_templates_configuration()
     if django.conf.settings.SHUUP_FRONT_INSTALL_ERROR_HANDLERS:
         from .error_handling import install_error_handlers
         install_error_handlers()