Skip to content

djangodocs

Django 6.0
  • dev dev
  • 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
  • 1.11 unsupported
  • 1.10 unsupported
  • 1.9 unsupported
  • 1.8 unsupported
English
  • English
  • Svenska
  • 简体中文
  • Gaeilge
  • Français
  • 日本語
  • Bahasa Indonesia
  • Italiano
  • Português (Brasil)
  • 한국어
  • Español
  • Ελληνικά
  • Polski
Documentation contents
  • Django documentation
  • Getting started
  • Using Django
    • How to install Django
    • Models and databases
    • Handling HTTP requests
      • URL dispatcher
      • Writing views
      • View decorators
      • File Uploads
      • Django shortcut functions
      • Generic views
      • Middleware
      • How to use sessions
    • Working with forms
    • Templates
    • Class-based views
    • Migrations
    • Managing files
    • Testing in Django
    • User authentication in Django
    • Django’s cache framework
    • Conditional View Processing
    • Composite primary keys
    • Cryptographic signing
    • Sending email
    • Internationalization and localization
    • Logging
    • Pagination
    • Security in Django
    • Performance and optimization
    • Serializing Django objects
    • Django settings
    • Signals
    • System check framework
    • External packages
    • Asynchronous support
    • Django’s Tasks framework
  • How-to guides
  • Django FAQ
  • API Reference
  • Meta-documentation and miscellany
  • Glossary
  • Release notes
  • Django internals
  1. Django 6.0
  2. Using Django

Handling HTTP requestsLink to this heading#

Information on handling HTTP requests in Django:

  • URL dispatcher
  • Writing views
  • View decorators
  • File Uploads
  • Django shortcut functions
  • Generic views
  • Middleware
  • How to use sessions
View as Markdown Edit this page on GitHub Official version
PreviousOne-to-one relationships NextURL dispatcher

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.

Read the official documentation at docs.djangoproject.com.

👋 Jason Cartwright