Replies: 2 comments 1 reply
-
The basic idea for single-page-applications is that they should use the JSON API rather than the stock form-based templates. There is documentation about this in the readthedocs for Flask-Security. While there is initial extra effort to do this - is allows the application to manage routing, errors, UX consistently. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Also note that flashing are almost always used when redirecting - normal form errors in inline. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
I am using HTMX and would rather add what's currently served by
get_flashed_messages(with_categories=true)
instead of re-rendering the whole page.Is there a clever way to not return a whole body after POST? Login page would be a good example.
Beta Was this translation helpful? Give feedback.
All reactions