TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

I just felt an intense love for django and python ideology reading this

5 点作者 csantini大约 15 年前
&#60;&#60; ModelForm: If you’re building a database-driven app, chances are you’ll have forms that map closely to Django models. For instance, you might have a BlogComment model, and you want to create a form that lets people submit comments. In this case, it would be redundant to define the field types in your form, because you’ve already defined the fields in your model. &#62;&#62;<p>from http://docs.djangoproject.com/en/1.1/topics/forms/modelforms/#topics-forms-modelforms

1 comment

adamtj大约 15 年前
But good luck if that's not the case.