2017-01-31 21:50:28 +00:00
|
|
|
# make this a long 100+ chars random string
|
2017-02-11 15:50:29 +00:00
|
|
|
SECRET_KEY = '{{ django_secret_key }}'
|
2017-01-31 21:50:28 +00:00
|
|
|
|
2017-02-11 15:50:29 +00:00
|
|
|
ALLOWED_HOSTS = {{ django_allowed_hostnames }}
|
2017-01-31 21:50:28 +00:00
|
|
|
|
|
|
|
# Database settings
|
|
|
|
# https://docs.djangoproject.com/en/1.10/ref/settings/#databases
|
|
|
|
DATABASES = {
|
|
|
|
'default': {
|
|
|
|
'ENGINE': 'django.db.backends.postgresql_psycopg2',
|
2017-02-11 15:50:29 +00:00
|
|
|
'NAME': '{{ django_postgres_dbname }}',
|
|
|
|
'USER': '{{ django_postgres_user }}',
|
|
|
|
'PASSWORD': '{{ django_postgres_password }}',
|
|
|
|
'HOST': '{{ django_postgres_host }}',
|
2017-01-31 21:50:28 +00:00
|
|
|
},
|
|
|
|
}
|
|
|
|
|
2017-02-11 16:22:02 +00:00
|
|
|
DEBUG={{ django_debug }}
|
|
|
|
|
2017-01-31 21:50:28 +00:00
|
|
|
### changes below here are only needed for production
|
|
|
|
|
|
|
|
# email settings
|
2017-02-11 15:50:29 +00:00
|
|
|
EMAIL_HOST='{{ django_email_host }}'
|
|
|
|
EMAIL_PORT={{ django_email_port }}
|
2017-02-11 16:11:40 +00:00
|
|
|
EMAIL_HOST_USER='{{ django_email_user }}'
|
|
|
|
EMAIL_HOST_PASSWORD='{{ django_email_password }}'
|
2017-01-31 21:50:28 +00:00
|
|
|
EMAIL_USE_TLS=True
|
2017-02-11 16:11:40 +00:00
|
|
|
DEFAULT_FROM_EMAIL='{{ django_email_from }}'
|
|
|
|
ARCHIVE_EMAIL='{{ django_archive_email }}'
|
2017-01-31 21:50:28 +00:00
|
|
|
|
2017-02-11 15:50:29 +00:00
|
|
|
ADMINS={{ django_admins }}
|
2017-01-31 21:50:28 +00:00
|
|
|
|
|
|
|
# misc settings
|
2017-02-11 15:50:29 +00:00
|
|
|
TIME_ZONE='{{ django_timezone }}'
|
|
|
|
MEDIA_ROOT='{{ django_media_root }}'
|
|
|
|
PDF_ARCHIVE_PATH='{{ pdf_archive_path }}'
|
2017-01-31 21:50:28 +00:00
|
|
|
|
2017-02-19 20:20:19 +00:00
|
|
|
# start redirecting to the next camp instead of the previous camp after
|
|
|
|
# this much of the time between the camps has passed
|
|
|
|
CAMP_REDIRECT_PERCENT=40
|
|
|
|
|
2017-01-31 21:50:28 +00:00
|
|
|
# PSP settings
|
2017-02-11 15:50:29 +00:00
|
|
|
EPAY_MERCHANT_NUMBER='{{ epay_merchant_number }}'
|
|
|
|
EPAY_MD5_SECRET='{{ epay_md5_secret }}'
|
|
|
|
COINIFY_API_KEY='{{ coinify_api_key }}'
|
|
|
|
COINIFY_API_SECRET='{{ coinify_api_secret }}'
|
|
|
|
COINIFY_IPN_SECRET='{{ coinify_ipn_secret }}'
|
2017-01-31 21:50:28 +00:00
|
|
|
|
|
|
|
# shop settings
|
2017-02-11 15:50:29 +00:00
|
|
|
BANKACCOUNT_IBAN='{{ iban }}'
|
|
|
|
BANKACCOUNT_SWIFTBIC='{{ swiftbic }}'
|
|
|
|
BANKACCOUNT_REG='{{ regno }}'
|
|
|
|
BANKACCOUNT_ACCOUNT='{{ accountno }}'
|
2017-01-31 22:26:45 +00:00
|
|
|
TICKET_CATEGORY_NAME='Tickets'
|
2017-01-31 21:50:28 +00:00
|
|
|
|
|
|
|
# schedule settings
|
|
|
|
SCHEDULE_MIDNIGHT_OFFSET_HOURS=6
|
|
|
|
SCHEDULE_TIMESLOT_LENGTH_MINUTES=30
|
2017-02-02 13:37:17 +00:00
|
|
|
SCHEDULE_EVENT_NOTIFICATION_MINUTES=10
|
2017-01-31 21:50:28 +00:00
|
|
|
|
|
|
|
# irc bot settings
|
|
|
|
IRCBOT_CHECK_MESSAGE_INTERVAL_SECONDS=60
|
2017-01-31 22:02:27 +00:00
|
|
|
IRCBOT_NICK='mybot'
|
2017-02-02 13:37:17 +00:00
|
|
|
IRCBOT_SCHEDULE_ANNOUNCE_CHANNEL='#something'
|
|
|
|
IRCBOT_SERVER_HOSTNAME='irc.example.com'
|
2017-01-31 21:50:28 +00:00
|
|
|
IRCBOT_SERVER_PORT=6697
|
|
|
|
IRCBOT_SERVER_USETLS=True
|
|
|
|
|