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 <damien.lespiau@intel.com>
Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
<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
},
}
-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):