X-Git-Url: http://rtime.felk.cvut.cz/gitweb/linux-conf-perf.git/blobdiff_plain/189e59ba2e36b3c88346de37e0ad32dfdff6aa13..b8f7118b19b075a3386bd9b021535b395528e4ec:/scripts/lcp_django/database/settings.py diff --git a/scripts/lcp_django/database/settings.py b/scripts/lcp_django/database/settings.py new file mode 100644 index 0000000..4a9864c --- /dev/null +++ b/scripts/lcp_django/database/settings.py @@ -0,0 +1,22 @@ +import os + +# SECURITY WARNING: keep the secret key used in production secret! +SECRET_KEY = '34xej!+ag9*nzkoi1$!&0c6of-9%wu5kl8f-6qj4!ld1b@av+1' + +# Application definition + +INSTALLED_APPS = ['database'] # We want this directory to be a django app + +MIDDLEWARE_CLASSES = () + +# Database +# https://docs.djangoproject.com/en/1.9/ref/settings/#databases +DATABASES = { + 'default': { + 'ENGINE': 'django.db.backends.postgresql_psycopg2', + 'HOST': '', + 'NAME': 'linux-conf-perf', + #'ENGINE': 'django.db.backends.sqlite3', + #'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), + } +}