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 Réponses
+ 1
Yes! Thank you!!
11th Jan 2021, 3:34 PM
Fu Foy
Fu Foy - avatar