source: settings_local_sample.py @ 219:908a9cd85e48

Revision 219:908a9cd85e48, 1.8 KB checked in by raph, 19 months ago (diff)

fix double MEDIA_ROOT parameter

Line 
1DEBUG = True
2TEMPLATE_DEBUG = DEBUG
3CLIENT_DEBUG = DEBUG
4
5YUI_DEBUG = DEBUG # use expanded yui version (i.e. not -min)
6YUI_DISTANT = False
7
8DATABASE_ENGINE = 'postgresql_psycopg2' # YOUR_SETTINGS          # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
9DATABASE_NAME = 'db_name' # YOUR_SETTINGS           # Or path to database file if using sqlite3.
10DATABASE_USER = 'db_user' # YOUR_SETTINGS            # Not used with sqlite3.
11DATABASE_PASSWORD = 'db_pw' # YOUR_SETTINGS        # Not used with sqlite3.
12DATABASE_HOST = '' # YOUR_SETTINGS            # Set to empty string for localhost. Not used with sqlite3.
13DATABASE_PORT = '' # YOUR_SETTINGS            # Set to empty string for default. Not used with sqlite3.
14
15SITE_URL = "http://127.0.0.1:8000" # YOUR_SETTINGS
16
17DEFAULT_FROM_EMAIL = "me@example.com" # YOUR_SETTINGS
18
19# destination email for the contact page
20CONTACT_DEST = DEFAULT_FROM_EMAIL
21
22# smtp host
23EMAIL_HOST = "localhost" # YOUR_SETTINGS
24
25TEMPLATE_STRING_IF_INVALID = "NNNNNNNNNOOOOOOOOOOOOOOO" if DEBUG else ''
26
27# web server writable directory to store Comt uploaded content (text images etc.)
28MEDIA_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
32SECRET_KEY = 'random_text_qs57Dd_-dqsdqd' # YOUR_SETTINGS
33
34MEDIA_URL = '/site_media/'
35
36CM_MEDIA_PREFIX = '/cmmedia/'
37
38ADMIN_MEDIA_PREFIX = '/media/'
39
40ADMINS = (
41    ('Comt admin', CONTACT_DEST),
42)
43
44MANAGERS = ADMINS
45SEND_BROKEN_LINK_EMAILS = False
46
47SERVER_EMAIL = DEFAULT_FROM_EMAIL
48
49# Local time zone for this installation. Choices can be found here:
50# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
51# although not all choices may be available on all operating systems.
52# If running in a Windows environment this must be set to the same as your
53# system time zone.
54DEFAULT_TIME_ZONE = "Europe/Paris"
Note: See TracBrowser for help on using the repository browser.