Report this

What is the reason for this report?

I am trying to connect django to managed database, i am not able to do.

Posted on November 28, 2019

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.

  1. why db.sqlite3 file re appear after deleting ?
  2. how do i correctly configure my settings.py ?
  3. what is sslmode=require have to do with this ?
  4. do i have anything to do with server ca certificate.

Thanks Ranu

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.