I have a form that holds multiple inputs... Within the request.POST
, I'm looping through all of the input values. But I'd like to store them within a variable.. How do I do that?
for key, value in request.POST.items():
print(key, value) # how can I store instead of print?
How can I store all values in a python array/dict/whatever?