settings.ini: we need to use a full conf
This commit is contained in:
parent
c202c906e9
commit
20d86da33d
|
@ -1,16 +1,54 @@
|
|||
[wcsinstd]
|
||||
url_template: http://%%(domain)s-site.entrouvert.org/
|
||||
|
||||
[secrets]
|
||||
# CHANGE this secrets
|
||||
secret_key: random-string-of-ascii
|
||||
csrf_secret: random-string-of-ascii
|
||||
[dirs]
|
||||
template_dirs: /var/lib/wcsinstd/templates
|
||||
media_root: /var/lib/wcsinstd/media
|
||||
static_root: /var/lib/wcsinstd/static
|
||||
static_dirs:
|
||||
|
||||
[database]
|
||||
engine: django.db.backends.sqlite3
|
||||
name: /var/lib/wcsinstd/wcsinst.sqlite3
|
||||
name: /var/lib/wcsinstd/wcsinst.sqlite3
|
||||
host:
|
||||
port:
|
||||
user:
|
||||
password:
|
||||
|
||||
[wcsinstd]
|
||||
url_template: http://%%(domain)s-site.entrouvert.org/
|
||||
wcs_app_dir: /var/lib/wcs-au-quotidien/
|
||||
wcsctl_script: wcsctl -f /etc/wcs/wcs-au-quotidien.cfg
|
||||
|
||||
[cache]
|
||||
memcached: false
|
||||
|
||||
[secrets]
|
||||
secret_key: random-string-of-ascii
|
||||
csrf_secret: random-string-of-ascii
|
||||
|
||||
# all settings in debug section should be false in production
|
||||
# INTERNAL_IPS should be empty in productive environment
|
||||
[debug]
|
||||
general: false
|
||||
template: false
|
||||
sentry_dsn:
|
||||
toolbar: false
|
||||
internal_ips: 127.0.0.1
|
||||
sentry_dsn:
|
||||
|
||||
[email]
|
||||
server_email: wcsinstd
|
||||
default_from_email: wcsinstd
|
||||
subject_prefix: [wcsinstd]
|
||||
host: localhost
|
||||
port: 25
|
||||
use_tls: no
|
||||
user:
|
||||
password:
|
||||
|
||||
# the [admins] and [managers] sections are special. Just add lines with
|
||||
# full name: email_address@domain.xx
|
||||
# each section must be present but may be empty.
|
||||
[admins]
|
||||
#Entr'ouvert: admin+wcsinstd@entrouvert.com
|
||||
|
||||
[managers]
|
||||
#Entr'ouvert: admin+wcsinstd@entrouvert.com
|
||||
|
||||
|
|
Reference in New Issue