Render a Django template form field by id

前端 未结 0 1739
借酒劲吻你
借酒劲吻你 2020-12-01 22:28

I want a custom layout of form fields and was looking to get them from the form object by reference. Something along the lines of

{% if obj.editable %}
{{ for         


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