1👍
The form posts are made to url in action
param. Since your action param is /poll/search
it goes to that url.
0👍
Because that’s what you’ve specified as the form’s action
parameter. If you want it to go somewhere else, put a different value in there (or no value at all if you want it to go to the same page).
- [Answer]-Django building the login interface
- [Answer]-Table UserAndPlace_userprofile has no column named gender
- [Answer]-Django View issue-ForeignKey
- [Answer]-Django can't find static files for an app
Source:stackexchange.com