'Permission denied to create the database' when 'python manage.py test' is run. A postgres user permission must be added to the postgres user
Closed this issue · 2 comments
sabrown89 commented
When using postgres as your database (instead of sqlite), you must grant permission to your database user so django can create a database when running the test suite.
You will receive a 'permission denied to create the database' error when running:
python manage.py test
sabrown89 commented
I will have this added to BEGINNERS.md as a new pull request tomorrow.
sabrown89 commented
@jrrickerson pull request has been sent. Thanks!