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()
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()
def ready(self): # connect signals import shuup.front.notify_events # noqa: F401 validate_templates_configuration()
def ready(self): import shuup.admin.signal_handling # noqa (F401) validate_templates_configuration()
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()