Version bump 1.2
[auf_django_emploi.git] / auf / django / emploi / settings.py
... / ...
CommitLineData
1# -*- encoding: utf-8 -*-
2
3import os
4from django.conf import settings
5
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)
11
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)
17
18RECRUTEMENT_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/',}