Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
I am trying to connect django to managed database, i am not able to do.
After updating the django settings.py default database to correct values.
i am able to run makemigrations and migrate command and also create super user. but when i login to the admin it gives me error of “no such table - auth user, OPERATIONAL ERROR”.
I noticed that even if i delete db.sqlite3 file, it comes back when i try to login, i think it looks for table in sqlite3 and not postgres.
- why db.sqlite3 file re appear after deleting ?
- how do i correctly configure my settings.py ?
- what is sslmode=require have to do with this ?
- do i have anything to do with server ca certificate.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×