From: Damien Lespiau <[email protected]> From: https://wiki.postgresql.org/wiki/Postgres#Changing_name_from_PostgreSQL_to_Postgres
"Does not encourage weird derivations such as 'Postgre'" Signed-off-by: Damien Lespiau <[email protected]> Signed-off-by: Stephen Finucane <[email protected]> --- docs/development.md | 2 +- patchwork/settings/dev.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/development.md b/docs/development.md index 0ff1fc4..d69f42f 100644 --- a/docs/development.md +++ b/docs/development.md @@ -244,7 +244,7 @@ using the provided `dev` settings file. <dt>PW_TEST_DB_PASS = 'password'</dt> <dd>Password to access the database with</dd> <dt>PW_TEST_DB_TYPE = 'mysql'</dt> - <dd>Type of database to use. Options: 'mysql', 'postgresql'</dd> + <dd>Type of database to use. Options: 'mysql', 'postgres'</dd> </dl> [doc-contributing]: ../CONTRIBUTING.md diff --git a/patchwork/settings/dev.py b/patchwork/settings/dev.py index 29732aa..21aadb5 100644 --- a/patchwork/settings/dev.py +++ b/patchwork/settings/dev.py @@ -46,7 +46,7 @@ DATABASES = { }, } -if os.getenv('PW_TEST_DB_TYPE', None) == 'postgre': +if os.getenv('PW_TEST_DB_TYPE', None) == 'postgres': DATABASES['default']['ENGINE'] = 'django.db.backends.postgresql_psycopg2' if django.VERSION >= (1, 7): -- 2.0.0 _______________________________________________ Patchwork mailing list [email protected] https://lists.ozlabs.org/listinfo/patchwork
