|
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 DATABASES = { |
|
9 'default': { |
|
10 'ENGINE': 'postgresql_psycopg2', # YOUR_SETTINGS # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. |
|
11 'NAME': '<%= @db_name %>', # YOUR_SETTINGS # Or path to database file if using sqlite3. |
|
12 'USER': '<%= @db_user %>', # YOUR_SETTINGS # Not used with sqlite3. |
|
13 'PASSWORD': '<%= @db_pw %>', # YOUR_SETTINGS # Not used with sqlite3. |
|
14 'HOST': '<%= @db_host %>', # YOUR_SETTINGS # Set to empty string for localhost. Not used with sqlite3. |
|
15 'PORT': '<%= @db_port %>', # YOUR_SETTINGS # Set to empty string for default. Not used with sqlite3. |
|
16 } |
|
17 } |
|
18 |
|
19 SITE_URL = "http://<%= @ipaddress_eth1 %>/" # 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 = '/srv/comt/web' # 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 = '<%= Array.new(50){"abcdefghijklmnopqrstuvwxyz0123456789!@#\$%^&*(-_=+)".split("").sample}.join %>' # YOUR_SETTINGS |
|
37 |
|
38 MEDIA_URL = '/site_media/' |
|
39 |
|
40 INSTALLED_APPS = ( |
|
41 'django.contrib.auth', |
|
42 'django.contrib.contenttypes', |
|
43 'django.contrib.sessions', |
|
44 'django.contrib.sites', |
|
45 'django.contrib.admin', |
|
46 'cm', |
|
47 # 'django_extensions', |
|
48 'tagging', |
|
49 'south', |
|
50 ) |
|
51 |
|
52 CM_MEDIA_PREFIX = '/cmmedia/' |
|
53 |
|
54 ADMIN_MEDIA_PREFIX = '/media/' |
|
55 |
|
56 ADMINS = ( |
|
57 ('Comt admin', CONTACT_DEST), |
|
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" |
|
71 |
|
72 # Do not use name/email of co-ment users but rather |
|
73 # those passed in the request. |
|
74 # Set this parameter to True when using co-ment from |
|
75 # a third-party CMS throuch co-ment API. |
|
76 DECORATED_CREATORS = False |
|
77 |
|
78 # Set to TRUE to use Abiword for convertion form and to legacy formats. |
|
79 # Set to False to use LibreOffice for convertion form and to legacy formats. |
|
80 USE_ABI = True |