Day 2, full DB import/update/delete from dir with XML or HTTP

This commit is contained in:
Jack Stdin
2016-01-13 17:38:01 +03:00
parent 3aeb00d82a
commit 67f6943dce
14 changed files with 146 additions and 67 deletions

View File

@@ -15,9 +15,9 @@ DB_INSTANCES = dict(
),
production=dict(
host="localhost",
user="postgres",
password="intercon",
database="postgres",
user="***",
password="***",
database="***",
)
)
@@ -26,6 +26,9 @@ UNRAR_PATHES = dict(
production="unrar"
)
# Uncomment if you want to specify config_type manually
# config_type = "test"
# Main section
db = DB_INSTANCES[config_type]
unrar = UNRAR_PATHES[config_type]