| author | Simon Descarpentries <sid@sopinspace.com> |
| Tue, 06 May 2014 13:52:01 +0200 | |
| changeset 651 | 9bbc657f6837 |
| parent 561 | 6da1a12084a9 |
| 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 = { |
|
560
b7c7da996d7a
Update databases default engine module path.
Simon Descarpentries <sid@sopinspace.com>
parents:
559
diff
changeset
|
9 |
'default': { |
|
b7c7da996d7a
Update databases default engine module path.
Simon Descarpentries <sid@sopinspace.com>
parents:
559
diff
changeset
|
10 |
'ENGINE': 'django.db.backend.<engine>', # YOUR_SETTINGS # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. |
|
b7c7da996d7a
Update databases default engine module path.
Simon Descarpentries <sid@sopinspace.com>
parents:
559
diff
changeset
|
11 |
'NAME': '<db_name>', # YOUR_SETTINGS # Or path to database file if using sqlite3. |
|
b7c7da996d7a
Update databases default engine module path.
Simon Descarpentries <sid@sopinspace.com>
parents:
559
diff
changeset
|
12 |
'USER': '<db_user>', # YOUR_SETTINGS # Not used with sqlite3. |
|
b7c7da996d7a
Update databases default engine module path.
Simon Descarpentries <sid@sopinspace.com>
parents:
559
diff
changeset
|
13 |
'PASSWORD': '<db_pw>', # YOUR_SETTINGS # Not used with sqlite3. |
|
b7c7da996d7a
Update databases default engine module path.
Simon Descarpentries <sid@sopinspace.com>
parents:
559
diff
changeset
|
14 |
'HOST': '<localhost>', # YOUR_SETTINGS # Set to empty string for localhost. Not used with sqlite3. |
|
b7c7da996d7a
Update databases default engine module path.
Simon Descarpentries <sid@sopinspace.com>
parents:
559
diff
changeset
|
15 |
'PORT': '<5433>', # YOUR_SETTINGS # Set to empty string for default. Not used with sqlite3. |
|
b7c7da996d7a
Update databases default engine module path.
Simon Descarpentries <sid@sopinspace.com>
parents:
559
diff
changeset
|
16 |
} |
|
447
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 |
||
|
521
afb684b6cb16
Add INSTALLED_APPS in settings_local for buildout to include south migration commands.
gibus
parents:
447
diff
changeset
|
40 |
INSTALLED_APPS = ( |
|
560
b7c7da996d7a
Update databases default engine module path.
Simon Descarpentries <sid@sopinspace.com>
parents:
559
diff
changeset
|
41 |
'django.contrib.auth', |
|
b7c7da996d7a
Update databases default engine module path.
Simon Descarpentries <sid@sopinspace.com>
parents:
559
diff
changeset
|
42 |
'django.contrib.contenttypes', |
|
b7c7da996d7a
Update databases default engine module path.
Simon Descarpentries <sid@sopinspace.com>
parents:
559
diff
changeset
|
43 |
'django.contrib.sessions', |
|
b7c7da996d7a
Update databases default engine module path.
Simon Descarpentries <sid@sopinspace.com>
parents:
559
diff
changeset
|
44 |
'django.contrib.sites', |
|
b7c7da996d7a
Update databases default engine module path.
Simon Descarpentries <sid@sopinspace.com>
parents:
559
diff
changeset
|
45 |
'django.contrib.admin', |
|
b7c7da996d7a
Update databases default engine module path.
Simon Descarpentries <sid@sopinspace.com>
parents:
559
diff
changeset
|
46 |
'cm', |
|
b7c7da996d7a
Update databases default engine module path.
Simon Descarpentries <sid@sopinspace.com>
parents:
559
diff
changeset
|
47 |
# 'django_extensions', |
|
b7c7da996d7a
Update databases default engine module path.
Simon Descarpentries <sid@sopinspace.com>
parents:
559
diff
changeset
|
48 |
'tagging', |
|
b7c7da996d7a
Update databases default engine module path.
Simon Descarpentries <sid@sopinspace.com>
parents:
559
diff
changeset
|
49 |
'south', |
|
521
afb684b6cb16
Add INSTALLED_APPS in settings_local for buildout to include south migration commands.
gibus
parents:
447
diff
changeset
|
50 |
) |
|
afb684b6cb16
Add INSTALLED_APPS in settings_local for buildout to include south migration commands.
gibus
parents:
447
diff
changeset
|
51 |
|
| 211 | 52 |
CM_MEDIA_PREFIX = '/cmmedia/' |
53 |
||
54 |
ADMIN_MEDIA_PREFIX = '/media/' |
|
55 |
||
| 0 | 56 |
ADMINS = ( |
|
560
b7c7da996d7a
Update databases default engine module path.
Simon Descarpentries <sid@sopinspace.com>
parents:
559
diff
changeset
|
57 |
('Comt admin', CONTACT_DEST), |
| 0 | 58 |
) |
59 |
||
60 |
MANAGERS = ADMINS |
|
61 |
SEND_BROKEN_LINK_EMAILS = False |
|
62 |
||
63 |
SERVER_EMAIL = DEFAULT_FROM_EMAIL |
|
64 |
||
65 |
# Local time zone for this installation. Choices can be found here: |
|
66 |
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name |
|
67 |
# although not all choices may be available on all operating systems. |
|
68 |
# If running in a Windows environment this must be set to the same as your |
|
69 |
# system time zone. |
|
70 |
DEFAULT_TIME_ZONE = "Europe/Paris" |
|
|
445
3b20276fe74d
Update settings_local_sample with DECORATED_CREATORS and USE_ABI parameters
gibus
parents:
219
diff
changeset
|
71 |
|
|
3b20276fe74d
Update settings_local_sample with DECORATED_CREATORS and USE_ABI parameters
gibus
parents:
219
diff
changeset
|
72 |
# 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
|
73 |
# those passed in the request. |
|
3b20276fe74d
Update settings_local_sample with DECORATED_CREATORS and USE_ABI parameters
gibus
parents:
219
diff
changeset
|
74 |
# 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
|
75 |
# 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
|
76 |
DECORATED_CREATORS = False |
|
3b20276fe74d
Update settings_local_sample with DECORATED_CREATORS and USE_ABI parameters
gibus
parents:
219
diff
changeset
|
77 |
|
|
559
4e20287ff415
Fix spelling mistakes as per http://www.co-ment.org/ticket/85
Simon Descarpentries <sid@sopinspace.com>
parents:
521
diff
changeset
|
78 |
# Set to TRUE to use Abiword for convertion from and to legacy formats. |
|
4e20287ff415
Fix spelling mistakes as per http://www.co-ment.org/ticket/85
Simon Descarpentries <sid@sopinspace.com>
parents:
521
diff
changeset
|
79 |
# Set to False to use LibreOffice for convertion from and to legacy formats. |
|
445
3b20276fe74d
Update settings_local_sample with DECORATED_CREATORS and USE_ABI parameters
gibus
parents:
219
diff
changeset
|
80 |
USE_ABI = True |
|
561
6da1a12084a9
Add a DISABLE_TRACKING variable in settings as suggested here : http://www.co-ment.org/ticket/86
Simon Descarpentries <sid@sopinspace.com>
parents:
560
diff
changeset
|
81 |
|
|
651
9bbc657f6837
Replace DISABLE_TRACKING and TRACKING_HTML by a TRACKING_ID variable in configuration files
Simon Descarpentries <sid@sopinspace.com>
parents:
561
diff
changeset
|
82 |
# Set to False to avoid appearing in Sopinspace Piwik statistics |
|
9bbc657f6837
Replace DISABLE_TRACKING and TRACKING_HTML by a TRACKING_ID variable in configuration files
Simon Descarpentries <sid@sopinspace.com>
parents:
561
diff
changeset
|
83 |
TRACKING_ID = False |
|
561
6da1a12084a9
Add a DISABLE_TRACKING variable in settings as suggested here : http://www.co-ment.org/ticket/86
Simon Descarpentries <sid@sopinspace.com>
parents:
560
diff
changeset
|
84 |