diff options
| author | Loic Bistuer <loic.bistuer@gmail.com> | 2015-01-30 01:17:16 +0700 |
|---|---|---|
| committer | Loic Bistuer <loic.bistuer@gmail.com> | 2015-02-05 12:45:08 +0700 |
| commit | 9d104a21e20f9c5ec41d19fd919d0e808aa13dba (patch) | |
| tree | 5c760906efcc2ace5b6db08d280e26af3d2e554e /docs | |
| parent | 71ada3a8e689a883b5ffdeb1744ea16f176ab730 (diff) | |
Documented that m2m_changed isn't triggered when M2M is displayed as admin inline.
Refs #6707.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/contrib/admin/index.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt index c7c2afb019..ae61c01869 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -2164,6 +2164,11 @@ model to represent the many-to-many relationship, you must tell Django's admin to *not* display this widget - otherwise you will end up with two widgets on your admin page for managing the relation. +Note that when using this technique the +:data:`~django.db.models.signals.m2m_changed` signals aren't triggered. This +is because as far as the admin is concerned, ``through`` is just a model with +two foreign key fields rather than a many-to-many relation. + In all other respects, the ``InlineModelAdmin`` is exactly the same as any other. You can customize the appearance using any of the normal ``ModelAdmin`` properties. |
