From c35399d201d8f64b54d00125cb658082dfee094b Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Tue, 10 Oct 2017 11:28:03 -0400 Subject: Read database configuration from 'config.yml' and add example configuration --- app/config.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 app/config.yml (limited to 'app/config.yml') diff --git a/app/config.yml b/app/config.yml new file mode 100644 index 0000000..a60a66e --- /dev/null +++ b/app/config.yml @@ -0,0 +1,13 @@ +--- +# Postgres Example +db_default: + ENGINE: django.db.backends.postgresql + NAME: dispatch + USER: postgres + PASSWORD: + HOST: 127.0.0.1 + PORT: 5432 +# Sqlite example. Full path is recommended +# db_default: +# ENGINE: django.db.backends.sqlite3 +# NAME: /home/mitch/scm/dispatch-tracker/app/db.sqlite3 -- cgit v1.2.3