]> git.0d.be Git - panikweb-esperanzah.git/blob - panikweb_esperanzah/espe_settings.py
templates: remove usage of {{ STATIC_URL }}
[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 RADIO_META_DESCRIPTION = 'La radio éphémère du festival Esperanzah!'
7 WEBSITE_BASE_URL = 'https://radio.esperanzah.be/'
8 PODCASTS_DEFAULT_IMAGE_PATH = '/static/img/appicon.png'
9
10 DEFAULT_AGENDA_SLUG = None
11
12 INSTALLED_APPS = ['panikweb_esperanzah'] + list(INSTALLED_APPS)
13
14 # share user model with panikdb
15 AUTH_USER_MODEL = 'aa.User'
16 INSTALLED_APPS += ('panikdb.aa',)
17
18 PODCAST_FILE_FORMATS = 'mp3'
19
20 COMBO_PUBLIC_TEMPLATES = {
21     'standard': {
22         'name': 'Page',
23         'template': 'combo/page_template.html',
24         'placeholders': {
25             'content': {
26                 'name': 'Contenu',
27             },
28         },
29     },
30     'fullwidth': {
31         'name': 'Page (pleine largeur)',
32         'template': 'combo/page_template_full_width.html',
33         'placeholders': {
34             'content': {
35                 'name': 'Contenu',
36             },
37         },
38     },
39 }
40
41
42 extra_local_settings_file = os.environ.get(
43     'PANIKWEB_ESPERANZAH_SETTINGS_FILE', os.path.join(os.path.dirname(__file__), 'local_settings.py')
44 )
45 if os.path.exists(extra_local_settings_file):
46     exec(open(extra_local_settings_file).read())