ramp_frontend.views.redirect.redirect_to_sandbox

ramp_frontend.views.redirect.redirect_to_sandbox(event, message_str, is_error=True, category=None)

Redirect the page to the sandbox landing page.

Parameters
message_strstr

The message to inform the user what is going on.

is_errorbool, default is True

Whether this is due to an error.

categorystr or None

The category of the error. Refer to flask.flash.