You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test test_submission_exist_post_with_error in test_project_view.py reproduces it (currently commented)
A fix would require a major redesign of the project view. One of the potential solutions would be using a django form and validations there, e.g. like in the enrollement vide
The text was updated successfully, but these errors were encountered:
Using a model form in this case like you mentioned would solve this issue by just re-rendering the user submitted form on errors without changing the entires.
Although if you are looking for quick fix, then since you are retrieving all the values from the post body in code, you can convert the POST route to an api and use JS/HTMX in the frontend for sending the request.
Steps to reproduce
The test
test_submission_exist_post_with_error
intest_project_view.py
reproduces it (currently commented)A fix would require a major redesign of the project view. One of the potential solutions would be using a django form and validations there, e.g. like in the enrollement vide
The text was updated successfully, but these errors were encountered: