Gitlab CSE Unil

local.py 607 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
WSGI_APPLICATION = '%s.wsgi.local.application' % SITE_NAME

13
14
15
16
17
18
19
20
21
22
DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',
        'NAME': 'adim_dev',
        'USER': 'adim',
        'PASSWORD': 'fsdkuz289r3jhkasdf987',
        'HOST': 'localhost',
    },
}

23
24
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'

Julien Furrer's avatar
Julien Furrer committed
25
26
27
28
SENDFILE_BACKEND = 'sendfile.backends.development'

ADIM_PROD = False
ADIM_DEBUG_JS = True