PJ ofrre emploi
[auf_rh_dae.git] / src / auf.django.emploi / auf / django / emploi / settings.py
CommitLineData
8e0d552d
NBV
1# -*- encoding: utf-8 -*-
2
3import os
4from django.conf import settings
5
7f25c8a6
OL
6# default
7MEDIA_ROOT = getattr(settings, 'MEDIA_ROOT', None)
8PRIVE_MEDIA_ROOT = getattr(settings, 'PRIVE_MEDIA_ROOT', None)
9MEDIA_URL = getattr(settings, 'MEDIA_URL', None)
10PRIVE_MEDIA_URL = getattr(settings, 'PRIVE_MEDIA_URL', None)
8e0d552d 11
7f25c8a6
OL
12# custom
13OE_MEDIA_ROOT = getattr(settings, 'OE_MEDIA_ROOT', MEDIA_ROOT)
14OE_PRIVE_MEDIA_ROOT = getattr(settings, 'OE_PRIV_MEDIA_ROOT', PRIVE_MEDIA_ROOT)
15OE_MEDIA_URL = getattr(settings, 'OE_MEDIA_URL', MEDIA_URL)
16OE_PRIVE_MEDIA_URL = getattr(settings, 'OE_PRIVE_MEDIA_URL', PRIVE_MEDIA_URL)
30945e50 17
c2141437 18RECRUTEMENT_URLS = {'DEV': getattr(settings, 'RECRUTEMENT_URL', 'http://127.0.0.1:8000/api/'),
30945e50
NBV
19 'TEST':'http://test.ressources-humaines.auf.org/api/',
20 'PROD':'http://ressources-humaines.auf.org/api/',}