]> git.ipfire.org Git - thirdparty/patchwork.git/commit
Rework configurable 'PW_TEST_DB_xxx' settings
authorStephen Finucane <stephen.finucane@intel.com>
Thu, 12 Nov 2015 05:17:45 +0000 (05:17 +0000)
committerStephen Finucane <stephen.finucane@intel.com>
Sat, 21 Nov 2015 17:07:40 +0000 (17:07 +0000)
commitd7de98388e6f62dd0425b120e404541d1fce4c32
treeee34d727ec1e1e9cfcbba1d1c2a1a8ad03cc8712
parent73044ac036350686a605e7aff486566d0dbb1d82
Rework configurable 'PW_TEST_DB_xxx' settings

There are a number of environment variables that users can set to
configure different aspects of their testing environment. Rework these
like so:

* People use PostgreSQL, so make it as easy as possible for them to
  develop and test against it. Add a 'PW_TEST_DB_TYPE' setting
* Attempt to use defaults for the username and password in settings
* Allow the user to configure the database name, if they so wish

Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
patchwork/settings/dev.py
requirements-test.txt