Unknown column 'boericke_joints.id' in field list

2019-06-10 Thread Rishi Raj Jain
I'm using an already existing database and I followed steps in the documentation. It connects fine, but when I try to view data already in the database I get the error: (1054, "Unknown column 'boericke_joints.id' in 'field list'") I added a primary Id key that's required by django but I keep ge

Unknown column 'boericke_joints.id' in 'field list

2019-06-10 Thread Rishi Raj Jain
I'm using an already existing database in mysql. When I try to list the contents of the database it gives the following error: (1054, "Unknown column 'boericke_joints.id' in 'field list'") The table doesn't contain an ID field. models.py looks like this ; class BoerickeJoints(models.Model): i