Re: django.db.utils.OperationalError when remove the parent model

2016-09-13 Thread Cheng-Hung Hsueh
I tyied with some new filed in model B. class A(models.Model): data = models.CharField(max_length=30) class B(A): data2 = models.CharField(max_length=30) to class A(models.Model): data = models.CharField(max_length=30) class B(models.Model): data2 = models.CharField(max_length

Re: django.db.utils.OperationalError when remove the parent model

2016-09-13 Thread Simon Charette
Hi Cheng-Hung, This is know bug[1] Simon [1] https://code.djangoproject.com/ticket/24424 Le mardi 13 septembre 2016 22:02:54 UTC-4, Cheng-Hung Hsueh a écrit : > > The sample project: > https://github.com/sih4sing5hong5/django_migration_error > -- You received this message because you are sub

Re: django.db.utils.OperationalError when remove the parent model

2016-09-13 Thread Cheng-Hung Hsueh
The sample project: https://github.com/sih4sing5hong5/django_migration_error -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroup

django.db.utils.OperationalError when remove the parent model

2016-09-13 Thread Cheng-Hung Hsueh
My original models like this class A(models.Model): data = models.CharField(max_length=30) class B(models.Model): pass Make migrations, then I modified the artitecture class A(models.Model): data = models.CharField(max_length=30) class B(models.Model): pass Make migration and