]> rtime.felk.cvut.cz Git - linux-conf-perf.git/blob - scripts/lcp_django/database/settings.py
Make Django DB layer working
[linux-conf-perf.git] / scripts / lcp_django / database / settings.py
1 import os
2
3 # SECURITY WARNING: keep the secret key used in production secret!
4 SECRET_KEY = '34xej!+ag9*nzkoi1$!&0c6of-9%wu5kl8f-6qj4!ld1b@av+1'
5
6 # Application definition
7
8 INSTALLED_APPS = ['database'] # We want this directory to be a django app
9
10 MIDDLEWARE_CLASSES = ()
11
12 # Database
13 # https://docs.djangoproject.com/en/1.9/ref/settings/#databases
14 DATABASES = {
15     'default': {
16         'ENGINE': 'django.db.backends.postgresql_psycopg2',
17         'HOST': '',
18         'NAME': 'linux-conf-perf',
19         #'ENGINE': 'django.db.backends.sqlite3',
20         #'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
21    }
22 }