Skip to content

djangodocs

Django 5.2
  • 6.1 current
  • 6.0
  • 5.2 LTS
  • 5.1 unsupported
  • 5.0 unsupported
  • 4.2 unsupported
  • 4.1 unsupported
  • 4.0 unsupported
  • 3.2 unsupported
  • 3.1 unsupported
  • 3.0 unsupported
  • 2.2 unsupported
  • 2.1 unsupported
  • 2.0 unsupported
简体中文
  • English
  • Svenska
  • 简体中文
  • Gaeilge
  • Français
  • 日本語
  • Bahasa Indonesia
  • Italiano
  • Português (Brasil)
  • 한국어
  • Español
  • Ελληνικά
  • Polski
Documentation contents
  • Django 文档
  • 开始
  • 使用 Django
  • 如何引导
  • Django FAQ
  • API 参考
    • 应用程序
    • 系统检查框架
    • 内置基于类的视图 API
      • 基础视图
      • 通用显示视图
      • 通用编辑视图
      • 通用日期视图
      • 基于类的视图混入
        • 简单混入
        • 单对象混入
        • 多对象混入
        • 编辑混入
        • 基于日期的混入
      • 基于类的通用视图——扁平化索引
    • 点击劫持保护
    • contrib 包
    • 跨站请求伪造保护
    • 数据库
    • django-admin 和 manage.py
    • Django 异常
    • 文件处理
    • 表单
    • 日志
    • 中间件
    • 迁移操作
    • 模型
    • 分页器
    • 请求和响应对象
    • SchemaEditor
    • 配置
    • 信号
    • 模板
    • TemplateResponse 和 SimpleTemplateResponse
    • Unicode 数据
    • django.urls 实用函数
    • URLconfs 中使用的 django.urls 函数
    • Django 实用程序
    • 验证器
    • 内置视图
  • 元文件和杂记
  • 术语
  • 发行说明
  • Django内部
Chinese (Simplified) translation. Contributed by the Django community. 96.3% Help translate
  1. Django 5.2
  2. API 参考
  3. 内置基于类的视图 API

基于类的视图混入Link to this heading#

基于类的视图 API 参考。关于介绍性材料,请看 在基于类的视图中使用混入。

  • 简单混入
  • 单对象混入
  • 多对象混入
  • 编辑混入
  • 基于日期的混入
View as Markdown Edit this page on GitHub Official version
Previous通用日期视图 Next简单混入

An unofficial rendering of the Django documentation.

Not affiliated with or endorsed by the Django Software Foundation. The documentation is copyright © Django Software Foundation and individual contributors, and is used under the BSD 3-Clause licence. “Django” is a trademark of the Django Software Foundation.

This translation is the work of the Django i18n community, not of this site. Read the official documentation at docs.djangoproject.com.

👋 Jason Cartwright