No redirect in ContributeView.
See original GitHub issueWhen I tried to submit an invalid link, instead of the URL being /contribute/
as it should, it is /thankyou/
.
Also, shouldn’t the site redirect to /thankyou/
after a successful form submission? Instead of a render
shouldn’t it be an HttpResponseRedirect
in the ContributeView’s post
method? I may be wrong about this, but there is a bug vis a vis the URL.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Django form redirect after POST is unreliable and needed a ...
GET on form view (ContributeView) → returns an empty form; POST on form view (ContributeView) → if invalid, go back to step 1....
Read more >Sanitizing User Input - Happy Coding
getParameter("content"); //redirect to a GET request response. ... Try entering something like <h1>oh no</h1> into the text input and clicking the Submit ...
Read more >How to create custom permission level in SharePoint online
For such types of scenarios there is no default permission level ... Click on Site permissions and you will redirect to the permission...
Read more >The completed genome sequence of the pathogenic ... - NCBI
Here we present the completed genome sequence and annotation of the reference strain PH-1 of Fusarium graminearum, the causal agent of head scab ......
Read more >Router - JavaScript Framework Libraries for Node.JS - Kado
redirectRequest (res). res {Response} the HTTP response; Return {Function} used to redirect requests ... If there is no view engine false is returned....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes the URL persists, I would have to take a different approach for this, Thanks for reporting.
Found a possible fix. Reopening issue.
PR incoming.