This document is for a local build or a pull-request preview build of Django.
Skip to main content
Django

Django 6.2.dev20260610221126 documentation

Examples of model relationship API usage¶

  • Many-to-many relationships
  • Many-to-one relationships
  • One-to-one relationships
Previous page and next page
Fixtures
Many-to-many relationships
Back to Top

Additional Information

Browse

  • Prev: Fixtures
  • Next: Many-to-many relationships
  • Table of contents
  • General Index
  • Python Module Index

You are here:

  • Django 6.2 documentation
    • Using Django
      • Models and databases
        • Examples of model relationship API usage

Getting help

FAQ
Try the FAQ — it's got answers to many common questions.
Index, Module Index, or Table of Contents
Handy when looking for specific information.
Last updated on Jun 10, 2026.
Created using Sphinx 9.1.0.
Django theme designed by Threespot & andrevv.
© Django Software Foundation and contributors.
Django is a registered trademark of the Django Software Foundation.