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