Routeur: Ajout temporaire des modules workflow et dae en écriture
[auf_rh_dae.git] / src / auf.django.emploi / auf / django / emploi / settings.py
1 # -*- encoding: utf-8 -*-
2
3 import os
4 from django.conf import settings
5
6 # default
7 MEDIA_ROOT = getattr(settings, 'MEDIA_ROOT', None)
8 PRIVE_MEDIA_ROOT = getattr(settings, 'PRIVE_MEDIA_ROOT', None)
9 MEDIA_URL = getattr(settings, 'MEDIA_URL', None)
10 PRIVE_MEDIA_URL = getattr(settings, 'PRIVE_MEDIA_URL', None)
11
12 # custom
13 OE_MEDIA_ROOT = getattr(settings, 'OE_MEDIA_ROOT', MEDIA_ROOT)
14 OE_PRIVE_MEDIA_ROOT = getattr(settings, 'OE_PRIV_MEDIA_ROOT', PRIVE_MEDIA_ROOT)
15 OE_MEDIA_URL = getattr(settings, 'OE_MEDIA_URL', MEDIA_URL)
16 OE_PRIVE_MEDIA_URL = getattr(settings, 'OE_PRIVE_MEDIA_URL', PRIVE_MEDIA_URL)
17
18 RECRUTEMENT_URLS = {'DEV': getattr(settings, 'RECRUTEMENT_URL', 'http://127.0.0.1:8000/api/'),
19 'TEST':'http://test.ressources-humaines.auf.org/api/',
20 'PROD':'http://ressources-humaines.auf.org/api/',}