Django ORM

The Django web framework includes a default object-relational mapping layer (ORM) that can be used to interact with application data from various relational databases such as SQLite, PostgreSQL and MySQL.

Official Django logo. Trademark Django Software Foundation.

The Django ORM is an implementation of the object-relational mapping (ORM) concept. Learn more in the data chapter or view all topics.

Django ORM resources

The Django ORM has evolved over the past dozen years since it was created make sure to not only read up on the latest tutorials but also learn about newer optimizations, such as prefetch_related and select_related, that have been added throughout the project's history.