﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
29993	Bug trying to add two fields with the same name in two models	César García Tapia	nobody	"We have two models in the same application:

{{{
    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()
}}}"	Bug	closed	Migrations	2.0	Normal	invalid			Unreviewed	0	0	0	0	0	0
