I added the id section and set it as the primary key, this is required by django apparently. but it still doesn't solve my issue.
Kindly help me in resolving this, thanks in advance.
James Farris
unread,
Jun 11, 2019, 12:24:12 PM6/11/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
If the database was originally created by Django, it would have been built with an ID field. Django is confused because it can’t find that field in the database. If you added ID to the model, did you run python manage.py makemigrations and then python manage.py migrate