#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
-------------------------------------+-------------------------------------

Comment (by Matthijs Kooijman):

 This bug seems to also apply to proxy subclasses. E.g. if you start with:

 {{{
 from django.db import models

 class Base(models.Model):
     foo = models.BooleanField()

 class SubA(BrokenBase):
     class Meta:
         proxy = True
 }}}

 And then go to the same steps as described in the initial post, you will
 get the same error as shown in the initial posted (tested with Django
 2.0.1). I also tested with an abstract superclass, but that works as
 expected (probably because an abstract class is not involved in any
 migrations).

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

Reply via email to