Closed mayank26saxena closed 6 years ago
Fixed.
It was caused by calling db_sync
before creating the database.
Still getting the same error after trying to login.
Error -
relation "tracker_user" does not exist
LINE 1: SELECT COUNT(*) AS "__count" FROM "tracker_user"
Got it to work. Needed to create the migration
folder and run makemigrations
and migrate
command again.
I am getting the error while running
python3 manage.py makemigrations
-django.db.utils.ProgrammingError: relation "tracker_task" does not exist