Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想要一个博客文章的 DetailView,带有一个可用于创建相关评论的表单。
我希望 CreateView 的功能依赖于 Comment 模型和 DetailView 依赖于 Blog 模型
你在使用 Django 评论应用程序吗?如果是这样,请为博客模型使用详细视图并使用模板标签包含评论。