1👍
✅
This is a problem generated by your database not django itself. Try to recreate your database schema (you can just remove all related columns and execute ./manage.py syncdb
.
1👍
Try to remove db_column='studentid'
from your id
column in Student
model.
Why are you changing column name?
Also, why are you not using auto-id for it?
Source:stackexchange.com