Skip to content

djangodocs

Django 6.0
  • 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
    • 模型和数据库
    • 处理 HTTP 请求
      • URL调度器
      • 编写视图
      • 视图装饰器
      • 文件上传
      • Django 便捷函数
      • 通用视图
      • 中间件
      • 如何使用会话
    • 使用表单
    • 模板
    • 基于类的视图
    • 迁移
    • 管理文件
    • Django 中的测试
    • Django中的用户认证
    • Django 缓存框架
    • 条件视图处理
    • Composite primary keys
    • 加密签名
    • 发送邮件
    • 国际化和本地化
    • 日志
    • 分页
    • Django 的安全性
    • 性能和优化
    • 序列化 Django 对象
    • Django 配置
    • 信号
    • 系统检查框架
    • 扩展包
    • 异步支持
    • Django's Tasks framework
  • 如何引导
  • Django FAQ
  • API 参考
  • 元文件和杂记
  • 术语
  • 发行说明
  • Django内部
Chinese (Simplified) translation. Contributed by the Django community. 93.9% Help translate
  1. Django 6.0
  2. 使用 Django

处理 HTTP 请求Link to this heading#

Django 中处理 HTTP 请求的信息:

  • URL调度器
  • 编写视图
  • 视图装饰器
  • 文件上传
  • Django 便捷函数
  • 通用视图
  • 中间件
  • 如何使用会话

This page as Markdown JSON

Edit this page on GitHub Official version

Previous一对一关联 NextURL调度器

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