Gitlab CSE Unil

local.py 547 Bytes
Newer Older
1
2
3
4
5
6
7
8
"""
Settings for local development
"""
from .base import *

DEBUG = True
TEMPLATE_DEBUG = TEMPLATES[0]['OPTIONS']['debug'] = True

9
ALLOWED_HOSTS = ['127.0.0.1', 'localhost', ]
10
11
12
13
14
15
16
17
18
19
20

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',
        'NAME': 'adim_dev',
        'USER': 'adim',
        'PASSWORD': 'fsdkuz289r3jhkasdf987',
        'HOST': 'localhost',
    },
}

21
22
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'

Julien Furrer's avatar
Julien Furrer committed
23
24
25
26
SENDFILE_BACKEND = 'sendfile.backends.development'

ADIM_PROD = False
ADIM_DEBUG_JS = True