开发者

How to Access model from Form template in Django

开发者 https://www.devze.com 2023-01-31 00:25 出处:网络
I have a form that edits a model.In the template though I would like to 开发者_JAVA技巧access the model.Is this possible and how can I accomplish this?{{ model_form._meta.model }}

I have a form that edits a model. In the template though I would like to 开发者_JAVA技巧access the model. Is this possible and how can I accomplish this?


{{ model_form._meta.model }}

0

精彩评论

暂无评论...
验证码 换一张
取 消