ramp_frontend.views.redirect
.redirect_to_user¶
-
ramp_frontend.views.redirect.
redirect_to_user
(message_str, is_error=True, category='message')¶ Redirect the page to the problem 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
.