Your reason in the comment does not make sense. Each field in the model has its own column in the database, and there is never the danger of mixing them. You can, of course, specify a column name in the field other than the field name:
myfield = models.CharField(max_length=10, db_column='differentname')
but I don’t know if this will help you, because I still don’t know what the problem is.
source share