settings: Make dbsettings and localsettings external to settings.py
[matthijs/projects/dorestad-bookings.git] / dbsettings.py.tmpl
diff --git a/dbsettings.py.tmpl b/dbsettings.py.tmpl
new file mode 100644 (file)
index 0000000..bf6ae6e
--- /dev/null
@@ -0,0 +1,9 @@
+# Database settings. Put here to keep them out of version control. We
+# don't want sensitive data in there, and database settings might vary
+# per deployment
+DATABASE_ENGINE = 'mysql'           # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'.
+DATABASE_NAME = 'ee_bookings'       # Or path to database file if using sqlite3.
+DATABASE_USER = 'ee_bookings'       # 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.