#23034: Add migrations support for adding ManyToMany "through" model
-----------------------------+------------------------------------
     Reporter:  lorinkoz@…   |                    Owner:  (none)
         Type:  New feature  |                   Status:  new
    Component:  Migrations   |                  Version:  dev
     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 Shai Berger):

 Replying to [comment:14 Mariusz Felisiak]:
 > As far as I'm aware, this transformation is too fragile to be automated
 (see https://youtu.be/4QF9UHEFPCY). It's also
 [https://docs.djangoproject.com/en/stable/howto/writing-
 migrations/#changing-a-manytomanyfield-to-use-a-through-model documented]
 how to do this with `SeparateDatabaseAndState()`.

 Nobody had anything to say about this for three years before that comment,
 and 18 months after... maybe it's time to wontfix this ticket?
-- 
Ticket URL: <https://code.djangoproject.com/ticket/23034#comment:15>
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018ff7f76306-9bc5c48a-257e-4cc2-aa7a-75523b7fb9dd-000000%40eu-central-1.amazonses.com.

Reply via email to