1๐
โ
OK I try your codes. You did not put in your question what method did you use. So I try the GET and the output User matching query does not exist
. I try the POST and it works now.
<form action="/update_userprofile/?userid={{user.id}}" method="POST">
Even though you have user id
define in your url, you can still get the value from the method POST.
UPDATE:
You code is fine, just change the method into method=POST
in your form
๐คcatherine
Source:stackexchange.com