summaryrefslogtreecommitdiff
path: root/sbhs_server/credentials.py.example
diff options
context:
space:
mode:
authorcoderick142017-06-13 01:28:28 +0530
committercoderick142017-06-13 01:28:28 +0530
commit1950845ac1e7c253f9476bdbbca8e3b8b6f27dbc (patch)
treead6a70c13f8c5be80e966b9b044d601ccd7daf51 /sbhs_server/credentials.py.example
parent8d487bfad2bfaf0234c51ec8233d800426e7d23a (diff)
downloadSBHS-2018-Rpi-1950845ac1e7c253f9476bdbbca8e3b8b6f27dbc.tar.gz
SBHS-2018-Rpi-1950845ac1e7c253f9476bdbbca8e3b8b6f27dbc.tar.bz2
SBHS-2018-Rpi-1950845ac1e7c253f9476bdbbca8e3b8b6f27dbc.zip
Remove database credentials from settings.py
Diffstat (limited to 'sbhs_server/credentials.py.example')
-rw-r--r--sbhs_server/credentials.py.example8
1 files changed, 7 insertions, 1 deletions
diff --git a/sbhs_server/credentials.py.example b/sbhs_server/credentials.py.example
index 255bbae..4597033 100644
--- a/sbhs_server/credentials.py.example
+++ b/sbhs_server/credentials.py.example
@@ -3,4 +3,10 @@ EMAIL_HOST_USER = 'username'
EMAIL_HOST_PASSWORD = 'password'
MAP_FILE = 'path/to/file/map_machine_ids.txt'
LOG_FILE = '/path/to/logfile'
-ADMIN_EMAIL='admin email' \ No newline at end of file
+ADMIN_EMAIL='admin email'
+DB_NAME = 'your database name'
+DB_USER = 'database username'
+DB_PASS = 'password'
+DB_HOST = 'database host'
+DB_PORT = 'database port'
+