permission denied database django code example Example: Got an error creating the test database: permission denied to create database => ALTER USER django CREATEDB;