Ubuntu Pastebin

Paste from davidcalle at Thu, 28 Apr 2016 15:12:13 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
developer_portal/settings.py

140-# Database
141-# https://docs.djangoproject.com/en/1.6/ref/settings/#databases
142-
143:DATABASES = {
144-    'default': {
145-        'ENGINE': 'django.db.backends.sqlite3',
146-        'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
147-    }
148-}

That we update via the charm with:

# Database configs
import dj_database_url
DATABASES['default'].update(dj_database_url.config())
Download as text