Friday, August 2, 2019

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

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

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/e74442c0-4561-4ca5-83cc-fa73e2d60241%40googlegroups.com.

No comments:

Post a Comment