| author | gibus |
| Mon, 01 Oct 2012 09:50:25 +0200 | |
| changeset 466 | f00e34a4476b |
| parent 447 | 49184f325653 |
| child 521 | afb684b6cb16 |
| 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 |
||
|
447
49184f325653
Avoid warnings for deprecated instructions in djan 1.3
gibus
parents:
445
diff
changeset
|
8 |
DATABASES = { |
|
49184f325653
Avoid warnings for deprecated instructions in djan 1.3
gibus
parents:
445
diff
changeset
|
9 |
'default': { |
|
49184f325653
Avoid warnings for deprecated instructions in djan 1.3
gibus
parents:
445
diff
changeset
|
10 |
'ENGINE': 'postgresql_psycopg2', # YOUR_SETTINGS # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. |
|
49184f325653
Avoid warnings for deprecated instructions in djan 1.3
gibus
parents:
445
diff
changeset
|
11 |
'NAME': 'db_name', # YOUR_SETTINGS # Or path to database file if using sqlite3. |
|
49184f325653
Avoid warnings for deprecated instructions in djan 1.3
gibus
parents:
445
diff
changeset
|
12 |
'USER': 'db_user', # YOUR_SETTINGS # Not used with sqlite3. |
|
49184f325653
Avoid warnings for deprecated instructions in djan 1.3
gibus
parents:
445
diff
changeset
|
13 |
'PASSWORD': 'db_pw', # YOUR_SETTINGS # Not used with sqlite3. |
|
49184f325653
Avoid warnings for deprecated instructions in djan 1.3
gibus
parents:
445
diff
changeset
|
14 |
'HOST': '', # YOUR_SETTINGS # Set to empty string for localhost. Not used with sqlite3. |
|
49184f325653
Avoid warnings for deprecated instructions in djan 1.3
gibus
parents:
445
diff
changeset
|
15 |
'PORT': '', # YOUR_SETTINGS # Set to empty string for default. Not used with sqlite3. |
|
49184f325653
Avoid warnings for deprecated instructions in djan 1.3
gibus
parents:
445
diff
changeset
|
16 |
} |
|
49184f325653
Avoid warnings for deprecated instructions in djan 1.3
gibus
parents:
445
diff
changeset
|
17 |
} |
| 0 | 18 |
|
19 |
SITE_URL = "http://127.0.0.1:8000" # YOUR_SETTINGS |
|
20 |
||
21 |
DEFAULT_FROM_EMAIL = "me@example.com" # YOUR_SETTINGS |
|
22 |
||
23 |
# destination email for the contact page |
|
24 |
CONTACT_DEST = DEFAULT_FROM_EMAIL |
|
25 |
||
26 |
# smtp host |
|
27 |
EMAIL_HOST = "localhost" # YOUR_SETTINGS |
|
28 |
||
29 |
TEMPLATE_STRING_IF_INVALID = "NNNNNNNNNOOOOOOOOOOOOOOO" if DEBUG else '' |
|
30 |
||
31 |
# web server writable directory to store Comt uploaded content (text images etc.) |
|
32 |
MEDIA_ROOT = '/the/path/' # YOUR_SETTINGS |
|
33 |
||
34 |
# Insert some random text here, |
|
35 |
# it will be used to add some randomness to every crypto operation Comt does |
|
36 |
SECRET_KEY = 'random_text_qs57Dd_-dqsdqd' # YOUR_SETTINGS |
|
37 |
||
| 211 | 38 |
MEDIA_URL = '/site_media/' |
39 |
||
40 |
CM_MEDIA_PREFIX = '/cmmedia/' |
|
41 |
||
42 |
ADMIN_MEDIA_PREFIX = '/media/' |
|
43 |
||
| 0 | 44 |
ADMINS = ( |
45 |
('Comt admin', CONTACT_DEST), |
|
46 |
) |
|
47 |
||
48 |
MANAGERS = ADMINS |
|
49 |
SEND_BROKEN_LINK_EMAILS = False |
|
50 |
||
51 |
SERVER_EMAIL = DEFAULT_FROM_EMAIL |
|
52 |
||
53 |
# Local time zone for this installation. Choices can be found here: |
|
54 |
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name |
|
55 |
# although not all choices may be available on all operating systems. |
|
56 |
# If running in a Windows environment this must be set to the same as your |
|
57 |
# system time zone. |
|
58 |
DEFAULT_TIME_ZONE = "Europe/Paris" |
|
|
445
3b20276fe74d
Update settings_local_sample with DECORATED_CREATORS and USE_ABI parameters
gibus
parents:
219
diff
changeset
|
59 |
|
|
3b20276fe74d
Update settings_local_sample with DECORATED_CREATORS and USE_ABI parameters
gibus
parents:
219
diff
changeset
|
60 |
# 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
|
61 |
# those passed in the request. |
|
3b20276fe74d
Update settings_local_sample with DECORATED_CREATORS and USE_ABI parameters
gibus
parents:
219
diff
changeset
|
62 |
# 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
|
63 |
# 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
|
64 |
DECORATED_CREATORS = False |
|
3b20276fe74d
Update settings_local_sample with DECORATED_CREATORS and USE_ABI parameters
gibus
parents:
219
diff
changeset
|
65 |
|
|
3b20276fe74d
Update settings_local_sample with DECORATED_CREATORS and USE_ABI parameters
gibus
parents:
219
diff
changeset
|
66 |
# 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
|
67 |
# 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
|
68 |
USE_ABI = True |