The 'NAME' parameter 'NAME' must contain the name of the database you created in PostgreSQL, not a path to a file. look at this article if you need more information : https://www.enterprisedb.com/postgres-tutorials/how-use-postgresql-django