Re: migrations operation to alter model bases

2016-12-14 Thread Riccardo Magliocchetti
Hello, thanks for the hints Il 13/12/2016 19:51, Tim Graham ha scritto: There are a few open tickets that may be related: https://code.djangoproject.com/ticket/23521 - removal of concrete Model from bases doesn't remove it from ModelState bases Yeah, this looks like it. This also is an inter

Re: migrations operation to alter model bases

2016-12-13 Thread Tim Graham
There are a few open tickets that may be related: https://code.djangoproject.com/ticket/23521 - removal of concrete Model from bases doesn't remove it from ModelState bases https://code.djangoproject.com/ticket/26488 - migrate raises InvalidBasesError if you rename a multitable inheritance base

migrations operation to alter model bases

2016-12-13 Thread Riccardo Magliocchetti
Hello, on a journey to change a model from a concrete inheritance to an abstract one i've created a migration operation to change the bases of a model state in the migrations machinery. Is there a reason that there's not one in django? Would it be interesting to add it? thanks in advance --