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
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
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
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
4 matches
Mail list logo