ethertoff
clone your own copy | download snapshot

Snapshots | iceberg

Inside this repository

local_settings.py.example
text/plain

Download raw (1.5 KB)

import os

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

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True

ALLOWED_HOSTS = []

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = 'oy9@**&*m*wmw&3um_o!xr@e4jig9u+woz6^szs!a%mye5%qut'

# Database
# https://docs.djangoproject.com/en/2.0/ref/settings/#databases
DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.sqlite3', # Add one of postgresql_psycopg2, mysql, sqlite3, oracle
        'NAME': os.path.join(PROJECT_DIR, 'sqlite.db'),
        '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.
    }
}

EMAIL_HOST = ''
EMAIL_PORT = 587
EMAIL_HOST_USER = ''
EMAIL_HOST_PASSWORD = ''
EMAIL_USE_TLS = True

HOME_PAD = 'About.md'

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

# Absolute filesystem path to the directory that will hold user-uploaded files.
# Example: "/var/www/example.com/media/"
MEDIA_ROOT = ''

# Absolute path to the directory static files should be collected to.
# Don't put anything in this directory yourself; store your static files
# in apps' "static/" subdirectories and in STATICFILES_DIRS.
# Example: "/var/www/example.com/static/"
STATIC_ROOT = ''