Django: How to pass a variable from view to forms?

前端 未结 0 594
后悔当初
后悔当初 2020-11-28 21:10

I have view document and I would like to pass the my_number variable to DocumentForm in order to define what the form should look like

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