Skip to content

djangodocs

Django 1.9
  • 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
Español
  • English
  • Français
  • 日本語
  • Bahasa Indonesia
  • Português (Brasil)
  • Español
Documentation contents
  • Documentación de Django
  • Empezando
  • Using Django
  • «How-to» guides
  • FAQ de Django
  • API Reference
    • Applications
    • System check framework
    • Built-in class-based views API
    • Clickjacking Protection
    • contrib packages
    • Cross Site Request Forgery protection
    • Databases
    • django-admin and manage.py
    • Django Exceptions
    • File handling
    • Forms
    • Middleware
    • Migration Operations
    • Models
      • Model field reference
      • Model _meta API
      • Related objects reference
      • Model class reference
      • Model Meta options
      • Model instance reference
      • QuerySet API reference
      • Lookup API reference
      • Query Expressions
      • Conditional Expressions
      • Database Functions
    • Request and response objects
    • SchemaEditor
    • Settings
    • Signals
    • Templates
    • TemplateResponse and SimpleTemplateResponse
    • Unicode data
    • django.core.urlresolvers utility functions
    • django.conf.urls utility functions
    • Django Utils
    • Validators
    • Built-in Views
  • Meta-documentation and miscellany
  • Glosario de términos
  • Release notes
  • Django internals
Django 1.9 is no longer supported. It receives no security fixes. Use it for reference only. Latest release
Spanish translation. Contributed by the Django community. 96.4% Help translate
  1. Django 1.9
  2. API Reference

ModelsLink to this heading#

Model API reference. For introductory material, see Models.

  • Model field reference
  • Field attribute reference
  • Model _meta API
  • Related objects reference
  • Model class reference
  • Model Meta options
  • Model instance reference
  • QuerySet API reference
  • Lookup API reference
  • Query Expressions
  • Conditional Expressions
  • Database Functions

This page as Markdown JSON

Edit this page on GitHub Official version

PreviousMigration Operations NextModel field reference

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