Django for loop | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Django for loop

I have a for loop in html {% for x in y %} {{x}} <input type="text" name={{x}}> Is name ={{x}} correct? I get MultiValueDictKeyError and I'm wondering, if that is the reason why.

11th Jan 2021, 3:14 PM
Fu Foy
Fu Foy - avatar
2 Answers
+ 1
Yes! Thank you!!
11th Jan 2021, 3:34 PM
Fu Foy
Fu Foy - avatar