Hi Guys
I have been working on a django app that was going well using an sqlite db.
I've moved it over to mysql and imported the database
Everything looks good
But when I try to use the django comment system that was working well on the sqlite db before I get:
OperationalError at /comments/post/
(1364, "Field 'id' doesn't have a default value")
Request Method: POST
Django Version: 1.6.2
Exception Type: OperationalError
Exception Value:
(1364, "Field 'id' doesn't have a default value")
Exception Location: /Users/admin/Dropbox/mstudio/code/mBrain/mbrain/venv/lib/python2.7/site-packages/MySQLdb/connections.py in defaulterrorhandler, line 36
Python Executable:
I'm a little lost - do i need to set a default value for the django.contrib.comments model?
And how would i do that if I needed to - this has an Object ID field - i don't know how I'd set that up
Any ideas? What am i missing?
Many thanks!
Adam