Hi,
May be you can define your field usind "db_column":
manufact = models.ForeignKey(Manufacture, verbose_name=u'Manufacture',
db_column='manufacture')
https://docs.djangoproject.com/en/1.11/ref/models/fields/#db-column
--
You received this message because you are subscribed to the Google Grou
Hello, I have the task of convert the project from django version 1.8.2 to
version 1.11. Faced a problem with which I can not cope. That model of
tables, which worked excellently in 1.8.2, stopped working in version 1.11,
and falls out with an error:
core.CarModel.manufacture: (models.E0
2 matches
Mail list logo