Horje
Got an error creating the test database: ERREUR: droit refusé pour créer une base de données Code Example
Got an error creating the test database: ERREUR: droit refusé pour créer une base de données
#When Django runs the test suite, it creates a new database, in your case test_finance. The postgres user with username django does not have permission to create a database, hence the error message.

#When you run migrate or syncdb, Django does not try to create the finance database, so you don't get any errors.

#You can add the createdb permission to the django user by running the following command in the postgres shell as a superuser

#connect to postgres
ALTER USER user_name CREATEDB;

#change user_name by your username




Shell

Related
bash grep find lines that start with word Code Example bash grep find lines that start with word Code Example
curl show powershell show full content Code Example curl show powershell show full content Code Example
uninstall mono ubuntu Code Example uninstall mono ubuntu Code Example
linux memes Code Example linux memes Code Example
how to change fedora clock to 12 hour Code Example how to change fedora clock to 12 hour Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
19