Redirect via an action #205
Unanswered
dfioravanti
asked this question in
Q&A
Replies: 1 comment
-
You're correct, currently there is no support for custom responses in batch actions. I've opened an issue to address this limitation ( #207 ) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have an action that I am trying to implement via the
@action
decorator. This action calls some REST endpoints and gets back a response that is a HTML page that I would like to render in the browser. With flask admin all I need to do is just return the response as a redirect. In starlette-admin it looks like action can return only strings. Am I wrong? or is there a way to redirect via an action?Thanks =)
Beta Was this translation helpful? Give feedback.
All reactions