local_settings.py.example 779 Bytes
Newer Older
1
2
3
import os

PROJECT_DIR = os.path.abspath(os.path.dirname(__file__))
4
BACKUP_DIR = os.path.join(PROJECT_DIR, 'public')
5

OSP's avatar
OSP committed
6
7
DATABASES = {
    'default': {
8
9
        'ENGINE': 'django.db.backends.sqlite3', # Add one of postgresql_psycopg2, mysql, sqlite3, oracle
        'NAME': os.path.join(PROJECT_DIR, 'sqlite.db'),
OSP's avatar
OSP committed
10
11
12
13
14
15
16
        'USER': '',
        'PASSWORD': '',
        'HOST': '',                      # Empty for localhost through domain sockets or '127.0.0.1' for localhost through TCP.
        'PORT': '',                      # Set to empty string for default.
    }
}

17
18
19
20
EMAIL_HOST = ''
EMAIL_PORT = 587
EMAIL_HOST_USER = ''
EMAIL_HOST_PASSWORD = ''
21
EMAIL_USE_TLS = True
eric's avatar
eric committed
22

23
HOME_PAD = 'About.md'
24
25
26

# You can use this if you want to run the project under a subfolder
# SUBFOLDER = '2015'