Hello!
I need to get the values (specifically always the second value) from request.POST.get without specifying an id. In fact, I would like to be able to read the id and then work with it.
Conceptually, instead of value = request.POST.get(‘id’), I would like to do
id = request.POST(1) or something like that.
This code isn’t working for me, I always get either a QueryDict or an error that ‘object is not subscriptable’. Could you point me in the right direction please? Or is this even possible?
Thank you in advance,
Kristyna