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.
2 Réponses
+ 1
Yes! Thank you!!
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.