阅读背景:

使用基于类的通用视图DetailView与ModelForm显示一个错误 - 如何继续?

来源:互联网 

I've been impressed how rapidly a functional website can go together with generic views in the tutorials. Also, the workflow for form processing is nice. I used the ModelForm helper class to create a form from a model I made and was delighted to see that so much functionality came together. When I used the generic list_detail.object_detail I was disappointed that all that I could display were fields individually. I knew the ModelForm class contained information for rendering, so I wanted to use the ModelForm with a generic view.I've been impressed how rapidly a functional we




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: