settings_local_sample.py
author gibus
Thu, 24 May 2012 15:59:12 +0200
changeset 444 9246b0057a75
parent 219 908a9cd85e48
child 445 3b20276fe74d
permissions -rw-r--r--
Exports to epub only with pandoc 1.9 and upper versions.

DEBUG = True
TEMPLATE_DEBUG = DEBUG
CLIENT_DEBUG = DEBUG

YUI_DEBUG = DEBUG # use expanded yui version (i.e. not -min)
YUI_DISTANT = False

DATABASE_ENGINE = 'postgresql_psycopg2' # YOUR_SETTINGS          # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
DATABASE_NAME = 'db_name' # YOUR_SETTINGS           # Or path to database file if using sqlite3.
DATABASE_USER = 'db_user' # YOUR_SETTINGS            # Not used with sqlite3.
DATABASE_PASSWORD = 'db_pw' # YOUR_SETTINGS        # Not used with sqlite3.
DATABASE_HOST = '' # YOUR_SETTINGS            # Set to empty string for localhost. Not used with sqlite3.
DATABASE_PORT = '' # YOUR_SETTINGS            # Set to empty string for default. Not used with sqlite3.

SITE_URL = "http://127.0.0.1:8000" # YOUR_SETTINGS

DEFAULT_FROM_EMAIL = "me@example.com" # YOUR_SETTINGS

# destination email for the contact page
CONTACT_DEST = DEFAULT_FROM_EMAIL

# smtp host
EMAIL_HOST = "localhost" # YOUR_SETTINGS

TEMPLATE_STRING_IF_INVALID = "NNNNNNNNNOOOOOOOOOOOOOOO" if DEBUG else ''

# web server writable directory to store Comt uploaded content (text images etc.)
MEDIA_ROOT = '/the/path/' # YOUR_SETTINGS

# Insert some random text here, 
# it will be used to add some randomness to every crypto operation Comt does
SECRET_KEY = 'random_text_qs57Dd_-dqsdqd' # YOUR_SETTINGS

MEDIA_URL = '/site_media/'

CM_MEDIA_PREFIX = '/cmmedia/'

ADMIN_MEDIA_PREFIX = '/media/'

ADMINS = (
    ('Comt admin', CONTACT_DEST),
)

MANAGERS = ADMINS
SEND_BROKEN_LINK_EMAILS = False

SERVER_EMAIL = DEFAULT_FROM_EMAIL

# Local time zone for this installation. Choices can be found here:
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
# although not all choices may be available on all operating systems.
# If running in a Windows environment this must be set to the same as your
# system time zone.
DEFAULT_TIME_ZONE = "Europe/Paris"