I have been trying to connect Mysql based table via interface from models.py.
Although I mentioned auto_created = True, under class Meta, Django is still
trying to search for id column…
(1054, “Unknown column ‘table_name.id’ in ‘field list’”)
In my case, DB table does consider primary key as an inbuilt auto incremental setup for id attribute since it’s not explicitly defined in table schema.