Version bump 1.2
[auf_django_emploi.git] / auf / django / emploi / settings.py
CommitLineData
8acb3cd3
NBV
1# -*- encoding: utf-8 -*-
2
3import os
4from django.conf import settings
5
c3add7d3
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)
8acb3cd3 11
c3add7d3
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)
7f2e1e11 17
77dc3c2f 18RECRUTEMENT_URLS = {'DEV': getattr(settings, 'RECRUTEMENT_URL', 'http://127.0.0.1:8000/api/'),
7f2e1e11
NBV
19 'TEST':'http://test.ressources-humaines.auf.org/api/',
20 'PROD':'http://ressources-humaines.auf.org/api/',}