a11y: mark illustrative images with empty alt attribute
[panikweb-esperanzah.git] / panikweb_esperanzah / espe_settings.py
1 import os
2
3 DEFAULT_FROM_EMAIL = 'radio@esperanzah.be'
4 RADIO_NAME = 'Radio Esperanzah!'
5 RADIO_LONG_NAME = 'Radio Esperanzah! - 106.2 FM'
6 WEBSITE_BASE_URL = 'https://radio.esperanzah.be/'
7 PODCASTS_DEFAULT_IMAGE_PATH = '/static/img/appicon.png'
8
9 DEFAULT_AGENDA_SLUG = None
10
11
12 INSTALLED_APPS = list(INSTALLED_APPS) + ['panikweb_esperanzah']
13
14 TEMPLATES[0]['DIRS'].insert(0, os.path.join(os.path.dirname(local_settings_file), 'templates'))
15
16 STATICFILES_DIRS = [
17     os.path.join(os.path.dirname(local_settings_file), 'static'),
18 ] + list(STATICFILES_DIRS)
19
20
21 # share user model with panikdb
22 AUTH_USER_MODEL = 'aa.User'
23 INSTALLED_APPS += ('panikdb.aa',)
24
25 PODCAST_FILE_FORMATS = 'mp3'
26
27 extra_local_settings_file = os.environ.get(
28     'PANIKWEB_ESPERANZAH_SETTINGS_FILE', os.path.join(os.path.dirname(__file__), 'local_settings.py')
29 )
30 if os.path.exists(extra_local_settings_file):
31     exec(open(extra_local_settings_file).read())