#26488: migrate crashes when renaming a multi-table inheritance base model
-------------------------------------+-------------------------------------
     Reporter:  Christopher          |                    Owner:  nobody
  Neugebauer                         |
         Type:  Bug                  |                   Status:  new
    Component:  Migrations           |                  Version:  master
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  1                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Markus Holtermann):

 * version:  1.9 => master
 * needs_tests:  0 => 1


Comment:

 So, this is due to the fact that Django doesn't have a way to alter model
 bases. For whatever reason. I don't have a solution at hand right now. But
 there are a few other tickets (one being #23521) that suffer from the same
 issue.

 Idea for a solution:
 * add `AlterModelBases` migration operation
 * extend autodetector to detect model bases changes

-- 
Ticket URL: <https://code.djangoproject.com/ticket/26488#comment:11>
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/066.55692f2743b0a9203edae826af03fb77%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to