summaryrefslogtreecommitdiff
path: root/commonnet/local_settings.py.sample
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2019-08-07 03:53:32 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2019-08-07 03:55:49 +0200
commitd737e04553f464966f54739ba37f9f06dab44586 (patch)
tree2b68891ff1629b55b820312fdd3a17ce91ac5722 /commonnet/local_settings.py.sample
parent9fbd94f70d4b819b45eef720425242c0d69b032d (diff)
downloadComm-on-net-d737e04553f464966f54739ba37f9f06dab44586.tar.bz2
Comm-on-net-d737e04553f464966f54739ba37f9f06dab44586.zip
Save crawling results in the database
Diffstat (limited to 'commonnet/local_settings.py.sample')
-rw-r--r--commonnet/local_settings.py.sample12
1 files changed, 12 insertions, 0 deletions
diff --git a/commonnet/local_settings.py.sample b/commonnet/local_settings.py.sample
index 0cba3f5..8c59516 100644
--- a/commonnet/local_settings.py.sample
+++ b/commonnet/local_settings.py.sample
@@ -4,3 +4,15 @@ RESPONSIBLE_EMAIL = None
DEV = True
EXTRA_APPS = []
+
+# you probably have at least to set a password for db connection
+DATABASES = {
+ 'default': {
+ 'ENGINE': 'django.contrib.gis.db.backends.postgis',
+ 'NAME': 'commonnet',
+ 'USER': 'commonnet',
+ 'PASSWORD': '',
+ 'HOST': '127.0.0.1',
+ 'PORT': '5432',
+ }
+}