django-multiple-user-types-example
django-multiple-user-types-example copied to clipboard
I deployed the app locally and tried to signup a student I got below error
Exception Type: OperationalError
Exception Value:
no such table: main.classroom_student__old
The issue was related to subject data in database, it is working fine when I cleaned existing data and migrated everything as fresh.
closing as it is solved
how was it fixed ,
how was it fixed ,
Change the Django version in requirements.txt file to Django==2.2.7
Install them and follow the steps as mentioned in the repo.
how was it fixed ,
Change the Django version in requirements.txt file to
Django==2.2.7.
Install them and follow the steps as mentioned in the repo.
It's showing an error
Sorry, I guess the error is because of the full-stop at the end of 2.2.7 , just keep it Django==2.2.7
And it'll work probably.
Sorry, I guess the error is because of the full-stop at the end of 2.2.7 , just keep it
Django==2.2.7
And it'll work probably.
ya i have installed it successfully ...but when i tried to sign up as a student it is showing the following
operational error
The issue was related to subject data in database, it is working fine when I cleaned existing data and migrated everything as fresh.
Can u elaborate how to do it..
For those still having this error, Here is what I did
- Changed the Django version number to 2.2.7 in requirements.txt ( This step isnt necessary I think)
- Remove db.sqlite file from django folder
- Run 'python manage.py migrate'
- Start server and Create a Student account first, then create a teacher account, order is important.
Cheers
When I executed this project I got this error too. And, solutions in here didn't work. If this issue is still open, I would like to work on the issue.