{{{
class ModelA(models.Model):
one_field = models.CharField(...)
class ModelB(models.Model):
another_field = models.CharField(...)
}}}
If we try to add a new field to both of them with the same name (doesn't
have to be of the same type), makemigrations only detects one of them:
{{{
class ModelA(models.Model):
one_field = models.CharField(...)
repeated_field = models.CharField(...)
class ModelB(models.Model):
another_field = models.CharField(...)
repeated_field = models.BooleanField()
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/29993>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => closed
* resolution: => invalid
Comment:
I'm sorry, it was my fault, not django's. I had a @property in the model
with the same name, and that's why it wasn't detected by makemigrations.
Sorry for the noise. :-(
--
Ticket URL: <https://code.djangoproject.com/ticket/29993#comment:1>