checkbox always send false value in Django form

后端 未结 0 1267
旧巷少年郎
旧巷少年郎 2020-11-27 02:32

I have a modelform and i want to save the checkbox value in my model but somehow it just saves unchecked even if i have selected the checkbox and here is my code: forms.py :

相关标签:
回答
  • 消灭零回复
提交回复
热议问题