1
0
mirror of https://github.com/django/django.git synced 2025-04-04 21:46:40 +00:00

Refs #36095 -- Doc'd that ManyToManyField.through supports lazy relationships.

This commit is contained in:
Clifford Gama 2025-01-13 21:14:25 +02:00 committed by Sarah Boyce
parent 5adadf6e8c
commit eb4ea9c3ef

View File

@ -2025,6 +2025,10 @@ that control how the relationship functions.
the Django model that represents the intermediate table that you want to
use.
The ``through`` model can be specified using either the model class
directly or a :ref:`lazy reference <lazy-relationships>` to the model
class.
The most common use for this option is when you want to associate
:ref:`extra data with a many-to-many relationship
<intermediary-manytomany>`.