Django reporting column doesn't exist when it does, keeps crashing form on save

9 views
Skip to first unread message

Kean

unread,
Aug 2, 2019, 10:41:48 AM8/2/19
to Django users
Hi,

Django keeps reporting the following, 

OperationalError at /admin/setupcont/contractor/add/

table setupcont_contractor has no column named MSMe_bus
Request Method:POST
Request URL:http://127.0.0.1:8000/admin/setupcont/contractor/add/
Django Version:2.2.3
Exception Type:OperationalError
Exception Value:
table setupcont_contractor has no column named MSMe_bus



The column however does exist, I've tried running migrations, deleting migrations folder, running again...but bash says their are no migrations to perform,
I'm not sure if its me or something out of sync, but it's causing the table to crash when saving.

Please advise if anyone has seen this and how they fixed.

Best,

K
Reply all
Reply to author
Forward
0 new messages