summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerghei Mihai <smihai@entrouvert.com>2015-06-01 16:44:58 (GMT)
committerSerghei Mihai <smihai@entrouvert.com>2015-06-01 16:44:58 (GMT)
commit75a981d9282fffd78995d231d1f82a0cf3a2a3a5 (patch)
treeab5c4deb2ecb6b03fcc71f9ed69015ab62e975e1
parent381ece347c65f484748cedecc08d2aa8483980ad (diff)
downloadu-auth-75a981d9282fffd78995d231d1f82a0cf3a2a3a5.zip
u-auth-75a981d9282fffd78995d231d1f82a0cf3a2a3a5.tar.gz
u-auth-75a981d9282fffd78995d231d1f82a0cf3a2a3a5.tar.bz2
fix default sqlite database path
-rw-r--r--debian/settings.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/settings.py b/debian/settings.py
index c44906e..8a30b0d 100644
--- a/debian/settings.py
+++ b/debian/settings.py
@@ -1,3 +1,5 @@
+import os
+
DEBUG = False
TEMPLATE_DEBUG = False
@@ -15,3 +17,10 @@ TIME_ZONE = 'Europe/Paris'
# 'bind_passwd': 'changeme',
# 'dn': 'ou=users,dc=dev,dc=entrouvert,dc=org',
# }
+
+DATABASES = {
+ 'default': {
+ 'ENGINE': 'django.db.backends.sqlite3',
+ 'NAME': os.path.join(VAR_DIR, 'db.sqlite3'),
+ }
+}