Index: modules/rietveld/templates/settings.py.erb |
diff --git a/modules/rietveld/templates/settings.py.erb b/modules/rietveld/templates/settings.py.erb |
index 4524ca2170f301d6387686a3f35fa9e3d4e9d28c..e1333c78ba42e3a552638db4321a6a6cb0157001 100644 |
--- a/modules/rietveld/templates/settings.py.erb |
+++ b/modules/rietveld/templates/settings.py.erb |
@@ -13,12 +13,12 @@ ADMINS = ( |
MANAGERS = ADMINS |
-DATABASE_ENGINE = 'sqlite3' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. |
-DATABASE_NAME = 'dev.db' # Or path to database file if using sqlite3. |
-DATABASE_USER = '' # Not used with sqlite3. |
-DATABASE_PASSWORD = '' # Not used with sqlite3. |
-DATABASE_HOST = '' # Set to empty string for localhost. Not used with sqlite3. |
-DATABASE_PORT = '' # Set to empty string for default. Not used with sqlite3. |
+DATABASE_ENGINE = '<%= @database['engine'] %>' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. |
+DATABASE_NAME = '<%= @database['name'] %>' # Or path to database file if using sqlite3. |
+DATABASE_USER = '<%= @database['user'] %>' # Not used with sqlite3. |
+DATABASE_PASSWORD = '<%= @database['password'] %>' # Not used with sqlite3. |
+DATABASE_HOST = '<%= @database['host'] %>' # Set to empty string for localhost. Not used with sqlite3. |
+DATABASE_PORT = '<%= @database['port'] %>' # Set to empty string for default. Not used with sqlite3. |
# Local time zone for this installation. Choices can be found here: |
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name |