Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server Error (500) >> OperationalError at /login/ no such table: leads_user #14

Closed
sir-meee opened this issue Apr 13, 2021 · 2 comments
Closed

Comments

@sir-meee
Copy link

I've followed this tutorial to the last until the project is deployed where my issue arises.
After deploying the project with DEBUG=FALSE, I get a Server Error (500) when I login. I then changed the debug setting to true so I can see the error message and it says OperationalError at /login/ no such table: leads_user. I viewed the database schema on my terminal and the table leads_user is present. Running migrations also doesn't solve it.

I finally tried logging in through your deployed project(https://crm.justdjango.com/) and I got a Server Error (500) so I'm assuming this is a problem a lot have faced.
Anyone know what the fix is?

@tmbyers1102
Copy link

I have the same issue on the same exact spot. Spent the whole day trying adjustments. Any ideas?

@sir-meee
Copy link
Author

I deployed to heroku so I fixed this by running migrations on my heroku console heroku run python manage.py migrate

@sir-meee sir-meee closed this as completed May 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants