ramp_frontend.views.redirect
.redirect_to_credit¶
-
ramp_frontend.views.redirect.
redirect_to_credit
(submission_hash, message_str, is_error=True, category=None)¶ Redirect the page to the credit landing page.
- Parameters
- submission_hashstr
The hash of the current submission.
- 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
.