Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: modules/rietveld/templates/settings.py.erb

Issue 5686568333344768: Issue 2184 - Configure codereview setup to use PostgreSQL (Closed)
Patch Set: Created April 15, 2015, 9:06 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Django settings for django_gae2django project. 1 # Django settings for django_gae2django project.
2 2
3 # NOTE: Keep the settings.py in examples directories in sync with this one! 3 # NOTE: Keep the settings.py in examples directories in sync with this one!
4 4
5 import os 5 import os
6 6
7 DEBUG = True 7 DEBUG = True
8 TEMPLATE_DEBUG = DEBUG 8 TEMPLATE_DEBUG = DEBUG
9 9
10 ADMINS = ( 10 ADMINS = (
11 # ('Your Name', 'your_email@domain.com'), 11 # ('Your Name', 'your_email@domain.com'),
12 ) 12 )
13 13
14 MANAGERS = ADMINS 14 MANAGERS = ADMINS
15 15
16 DATABASE_ENGINE = 'sqlite3' # 'postgresql_psycopg2', 'postgresql', 'mysql', ' sqlite3' or 'oracle'. 16 DATABASE_ENGINE = '<%= @database['engine'] %>' # 'postgresql_psycopg2', 'postgre sql', 'mysql', 'sqlite3' or 'oracle'.
17 DATABASE_NAME = 'dev.db' # Or path to database file if using sqlite3. 17 DATABASE_NAME = '<%= @database['name'] %>' # Or path to database file if using s qlite3.
18 DATABASE_USER = '' # Not used with sqlite3. 18 DATABASE_USER = '<%= @database['user'] %>' # Not used with sqlite3.
19 DATABASE_PASSWORD = '' # Not used with sqlite3. 19 DATABASE_PASSWORD = '<%= @database['password'] %>' # Not used with sqlite3.
20 DATABASE_HOST = '' # Set to empty string for localhost. Not used wit h sqlite3. 20 DATABASE_HOST = '<%= @database['host'] %>' # Set to empty string for localhost. Not used with sqlite3.
21 DATABASE_PORT = '' # Set to empty string for default. Not used with sqlite3. 21 DATABASE_PORT = '<%= @database['port'] %>' # Set to empty string for default. No t used with sqlite3.
22 22
23 # Local time zone for this installation. Choices can be found here: 23 # Local time zone for this installation. Choices can be found here:
24 # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name 24 # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
25 # although not all choices may be available on all operating systems. 25 # although not all choices may be available on all operating systems.
26 # If running in a Windows environment this must be set to the same as your 26 # If running in a Windows environment this must be set to the same as your
27 # system time zone. 27 # system time zone.
28 TIME_ZONE = 'Europe/Berlin' 28 TIME_ZONE = 'Europe/Berlin'
29 29
30 # Language code for this installation. All choices can be found here: 30 # Language code for this installation. All choices can be found here:
31 # http://www.i18nguy.com/unicode/language-identifiers.html 31 # http://www.i18nguy.com/unicode/language-identifiers.html
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 104
105 RIETVELD_REVISION = '' 105 RIETVELD_REVISION = ''
106 106
107 UPLOAD_PY_SOURCE = os.path.join(os.path.dirname(__file__), 'upload.py') 107 UPLOAD_PY_SOURCE = os.path.join(os.path.dirname(__file__), 'upload.py')
108 108
109 # Default values for patch rendering 109 # Default values for patch rendering
110 DEFAULT_CONTEXT = 10 110 DEFAULT_CONTEXT = 10
111 DEFAULT_COLUMN_WIDTH = 80 111 DEFAULT_COLUMN_WIDTH = 80
112 MIN_COLUMN_WIDTH = 3 112 MIN_COLUMN_WIDTH = 3
113 MAX_COLUMN_WIDTH = 2000 113 MAX_COLUMN_WIDTH = 2000
OLDNEW
« modules/rietveld/manifests/init.pp ('K') | « modules/rietveld/manifests/init.pp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld