/[adm]/puppet/modules/transifex/templates/20-engines.conf
ViewVC logotype

Annotation of /puppet/modules/transifex/templates/20-engines.conf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 624 - (hide annotations) (download)
Wed Dec 15 12:24:46 2010 UTC (13 years, 3 months ago) by misc
File size: 1049 byte(s)
uniformisation of the name of variable used for password, so we know if this is ldap or postgresql at the first glance
1 dmorgan 177 ### ENGINE CONFIGURATION
2     # Database and caching
3    
4     ## Database configuration
5    
6     # http://docs.djangoproject.com/en/dev/ref/settings/#database-engine
7     DATABASE_ENGINE = 'postgresql_psycopg2'
8     # Use file path for sqlite3
9     DATABASE_NAME = 'transifex'
10     # The following are not used for sqlite3
11     DATABASE_USER = 'transifex'
12 misc 624 DATABASE_PASSWORD = '<%= pgsql_password %>'
13 misc 340 DATABASE_HOST = 'pgsql.<%= domain %>' # Set to empty string for local socket
14 dmorgan 177 DATABASE_PORT = '' # Set to empty string for default
15    
16     ## Caching (optional)
17    
18     CACHE_BACKEND = 'locmem://'
19     # For memcached: CACHE_BACKEND = 'memcached://127.0.0.1:11211/'
20     # No caching: CACHE_BACKEND = 'dummy://'
21    
22     CACHE_MIDDLEWARE_SECONDS = 3600
23     CACHE_MIDDLEWARE_KEY_PREFIX = 'tx'
24     CACHE_MIDDLEWARE_ANONYMOUS_ONLY = True
25    
26     # Note: Additional caching configuration takes place in 50-project.conf in the
27     # MIDDLEWARE_CLASSES option.
28    
29     # Database settings for unittests
30     TEST_CHARSET = "utf8"
31     TEST_COLLATION = "utf8_general_ci"
32     TEST_DATABASE_CHARSET = TEST_CHARSET
33     TEST_DATABASE_COLLATION = TEST_COLLATION

  ViewVC Help
Powered by ViewVC 1.1.30