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

Source Code for Module expedient.clearinghouse.defaultsettings.database

 1  '''Database settings. 
 2   
 3  Created on Aug 19, 2010 
 4   
 5  @author: jnaous 
 6  ''' 
 7   
 8  DATABASE_ENGINE = 'mysql' 
 9  '''It is possible to use sqlite, but for many of the tests to pass, we 
10  need a database that allows concurrent accesses such as MySQL. See Django's 
11  documentation for more information on this setting. 
12   
13  Options are 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. 
14   
15  ''' 
16   
17  DATABASE_NAME = "expedient" 
18  '''Name of the database to use or path to database file if using sqlite3..''' 
19   
20  DATABASE_USER = 'expedient' 
21  '''Database username. Not used with sqlite3.''' 
22   
23  DATABASE_PASSWORD = 'password' 
24  '''Database username password. Not used with sqlite3.''' 
25   
26  DATABASE_HOST = '' 
27  '''Set to empty string for localhost. Not used with sqlite3.''' 
28   
29  DATABASE_PORT = '' 
30  '''Set to empty string for default. Not used with sqlite3.''' 
31