[Django]-Django.db.utils.OperationalError: FATAL: database does not exist (postgres / deploy to digitalocean)

5👍

✅

Formalizing what we worked out in the comments as an answer, when you give postgres an unquoted string as an identifier, it forces it to lower-case. see this similar answer from pgsql-general mailing list. So the actual name of the database created by the command CREATE DATABASE jobzumoDB; is jobzumodb. to create a database named jobzumoDB it’s necessary to use quotes, as in CREATE DATABASE "jobzumoDB";

0👍

Use:

NAME’: ‘jobzumodb’,

Instead of:

NAME’: ‘jobzumoDB’,

Leave a comment