Package expedient :: Package clearinghouse :: Package defaultsettings :: Module database
[hide private]
[frames] | no frames]

Module database

source code

Database settings.

Created on Aug 19, 2010


Author: jnaous

Variables [hide private]
  DATABASE_ENGINE = 'mysql'
It is possible to use sqlite, but for many of the tests to pass, we need a database that allows concurrent accesses such as MySQL.
  DATABASE_NAME = 'expedient'
Name of the database to use or path to database file if using sqlite3..
  DATABASE_USER = 'expedient'
Database username.
  DATABASE_PASSWORD = 'password'
Database username password.
  DATABASE_HOST = ''
Set to empty string for localhost.
  DATABASE_PORT = ''
Set to empty string for default.
  __package__ = None
Variables Details [hide private]

DATABASE_ENGINE

It is possible to use sqlite, but for many of the tests to pass, we need a database that allows concurrent accesses such as MySQL. See Django's documentation for more information on this setting.

Options are 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.

Value:
'mysql'

DATABASE_USER

Database username. Not used with sqlite3.

Value:
'expedient'

DATABASE_PASSWORD

Database username password. Not used with sqlite3.

Value:
'password'

DATABASE_HOST

Set to empty string for localhost. Not used with sqlite3.

Value:
''

DATABASE_PORT

Set to empty string for default. Not used with sqlite3.

Value:
''