aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'examples/db_config.py')
-rw-r--r--examples/db_config.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/db_config.py b/examples/db_config.py
new file mode 100644
index 0000000..627ce46
--- /dev/null
+++ b/examples/db_config.py
@@ -0,0 +1,8 @@
+
+DATABASE_ENGINE = 'postgresql_psycopg2' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
+DATABASE_NAME = 'collagen' # Or path to database file if using sqlite3.
+DATABASE_USER = 'username' # Not used with sqlite3.
+DATABASE_PASSWORD = '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.
+INSTALLED_APPS = ('collagen.matchbox.db.main')