settings_local_sample.py
changeset 0 40c8f766c9b8
child 29 644cf0d39b25
equal deleted inserted replaced
-1:000000000000 0:40c8f766c9b8
       
     1 DEBUG = True
       
     2 TEMPLATE_DEBUG = DEBUG
       
     3 CLIENT_DEBUG = DEBUG
       
     4 
       
     5 YUI_DEBUG = DEBUG # use expanded yui version (i.e. not -min)
       
     6 YUI_DISTANT = False
       
     7 
       
     8 DATABASE_ENGINE = 'postgresql' # YOUR_SETTINGS          # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
       
     9 DATABASE_NAME = 'db_name' # YOUR_SETTINGS           # Or path to database file if using sqlite3.
       
    10 DATABASE_USER = 'db_user' # YOUR_SETTINGS            # Not used with sqlite3.
       
    11 DATABASE_PASSWORD = 'db_pw' # YOUR_SETTINGS        # Not used with sqlite3.
       
    12 DATABASE_HOST = '' # YOUR_SETTINGS            # Set to empty string for localhost. Not used with sqlite3.
       
    13 DATABASE_PORT = '' # YOUR_SETTINGS            # Set to empty string for default. Not used with sqlite3.
       
    14 
       
    15 SITE_URL = "http://127.0.0.1:8000" # YOUR_SETTINGS
       
    16 
       
    17 DEFAULT_FROM_EMAIL = "me@example.com" # YOUR_SETTINGS
       
    18 
       
    19 # destination email for the contact page
       
    20 CONTACT_DEST = DEFAULT_FROM_EMAIL
       
    21 
       
    22 # smtp host
       
    23 EMAIL_HOST = "localhost" # YOUR_SETTINGS
       
    24 
       
    25 TEMPLATE_STRING_IF_INVALID = "NNNNNNNNNOOOOOOOOOOOOOOO" if DEBUG else ''
       
    26 
       
    27 # web server writable directory to store Comt uploaded content (text images etc.)
       
    28 MEDIA_ROOT = '/the/path/' # YOUR_SETTINGS
       
    29 
       
    30 # Insert some random text here, 
       
    31 # it will be used to add some randomness to every crypto operation Comt does
       
    32 SECRET_KEY = 'random_text_qs57Dd_-dqsdqd' # YOUR_SETTINGS
       
    33 
       
    34 MEDIA_ROOT = 'urls'
       
    35 
       
    36 ADMINS = (
       
    37     ('Comt admin', CONTACT_DEST),
       
    38 )
       
    39 
       
    40 MANAGERS = ADMINS
       
    41 SEND_BROKEN_LINK_EMAILS = False
       
    42 
       
    43 SERVER_EMAIL = DEFAULT_FROM_EMAIL
       
    44 
       
    45 # Local time zone for this installation. Choices can be found here:
       
    46 # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
       
    47 # although not all choices may be available on all operating systems.
       
    48 # If running in a Windows environment this must be set to the same as your
       
    49 # system time zone.
       
    50 DEFAULT_TIME_ZONE = "Europe/Paris"