Answers for "request.post django"

-1

request.post django

Read about request objects that your views receive: https://docs.djangoproject.com/en/dev/ref/request-response/#httprequest-objects

Also your hidden field needs a reliable name and then a value:

<input type="hidden" name="title" value="{{ source.title }}">
Then in a view:

request.POST.get("title", "")
Posted by: Guest on March-23-2021

Python Answers by Framework

Browse Popular Code Answers by Language