| author | gibus |
| Tue, 05 Jun 2012 09:24:33 +0200 | |
| changeset 445 | 3b20276fe74d |
| parent 219 | 908a9cd85e48 |
| child 447 | 49184f325653 |
| permissions | -rw-r--r-- |
| 0 | 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 |
||
| 29 | 8 |
DATABASE_ENGINE = 'postgresql_psycopg2' # YOUR_SETTINGS # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. |
| 0 | 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 |
||
| 211 | 34 |
MEDIA_URL = '/site_media/' |
35 |
||
36 |
CM_MEDIA_PREFIX = '/cmmedia/' |
|
37 |
||
38 |
ADMIN_MEDIA_PREFIX = '/media/' |
|
39 |
||
| 0 | 40 |
ADMINS = ( |
41 |
('Comt admin', CONTACT_DEST), |
|
42 |
) |
|
43 |
||
44 |
MANAGERS = ADMINS |
|
45 |
SEND_BROKEN_LINK_EMAILS = False |
|
46 |
||
47 |
SERVER_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. |
|
54 |
DEFAULT_TIME_ZONE = "Europe/Paris" |
|
|
445
3b20276fe74d
Update settings_local_sample with DECORATED_CREATORS and USE_ABI parameters
gibus
parents:
219
diff
changeset
|
55 |
|
|
3b20276fe74d
Update settings_local_sample with DECORATED_CREATORS and USE_ABI parameters
gibus
parents:
219
diff
changeset
|
56 |
# Do not use name/email of co-ment users but rather |
|
3b20276fe74d
Update settings_local_sample with DECORATED_CREATORS and USE_ABI parameters
gibus
parents:
219
diff
changeset
|
57 |
# those passed in the request. |
|
3b20276fe74d
Update settings_local_sample with DECORATED_CREATORS and USE_ABI parameters
gibus
parents:
219
diff
changeset
|
58 |
# Set this parameter to True when using co-ment from |
|
3b20276fe74d
Update settings_local_sample with DECORATED_CREATORS and USE_ABI parameters
gibus
parents:
219
diff
changeset
|
59 |
# a third-party CMS throuch co-ment API. |
|
3b20276fe74d
Update settings_local_sample with DECORATED_CREATORS and USE_ABI parameters
gibus
parents:
219
diff
changeset
|
60 |
DECORATED_CREATORS = False |
|
3b20276fe74d
Update settings_local_sample with DECORATED_CREATORS and USE_ABI parameters
gibus
parents:
219
diff
changeset
|
61 |
|
|
3b20276fe74d
Update settings_local_sample with DECORATED_CREATORS and USE_ABI parameters
gibus
parents:
219
diff
changeset
|
62 |
# Set to TRUE to use Abiword for convertion form and to legacy formats. |
|
3b20276fe74d
Update settings_local_sample with DECORATED_CREATORS and USE_ABI parameters
gibus
parents:
219
diff
changeset
|
63 |
# Set to False to use LibreOffice for convertion form and to legacy formats. |
|
3b20276fe74d
Update settings_local_sample with DECORATED_CREATORS and USE_ABI parameters
gibus
parents:
219
diff
changeset
|
64 |
USE_ABI = True |