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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 240 - (show annotations) (download)
Wed Nov 10 23:58:34 2010 UTC (13 years, 4 months ago) by dmorgan
File size: 1040 byte(s)
Change transifex password
1 ### 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 DATABASE_PASSWORD = '<%= password %>'
13 DATABASE_HOST = 'pgsql.mageia.org' # Set to empty string for local socket
14 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