#6707: ManyToManyField clears and recreates all data
-------------------------------------+-------------------------------------
     Reporter:  favo <favo@…>        |                    Owner:  loic
         Type:  Bug                  |                   Status:  assigned
    Component:  Database layer       |                  Version:  master
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  1
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by loic):

 I've rebased the PR and I'm quite happy with the result.

 I checked regarding comment:34 and indeed when M2M are displayed as admin
 inlines `m2m_changed` isn't triggered. It's because the M2M field is
 bypassed and the `through` table is seen by the admin as a normal model
 with 2 FKs. That's an orthogonal problem but I added docs about it in the
 PR.

--
Ticket URL: <https://code.djangoproject.com/ticket/6707#comment:37>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/080.ad8fa1d92d4a6f5e639cc40c14ad1888%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to