1 # -*- encoding: utf-8 -*-
4 from django
.conf
import settings
6 # Absolute path to the directory that holds media.
7 # Example: "/home/media/media.lawrence.com/"
8 MEDIA_ROOT
= getattr(settings
, 'OE_MEDIA_ROOT',
9 os
.path
.join(os
.path
.dirname(__file__
), 'media'))
10 PRIVE_MEDIA_ROOT
= getattr(settings
, 'OE_PRIV_MEDIA_ROOT',
11 os
.path
.join(os
.path
.dirname(__file__
), 'media_prive'))
13 # URL that handles the media served from MEDIA_ROOT. Make sure to use a
14 # trailing slash if there is a path component (optional in other cases).
15 # Examples: "http://media.lawrence.com", "http://example.com/media/"
17 PRIVE_MEDIA_URL
= '/prive/'
19 RECRUTEMENT_URL
= {'DEV':'http://127.0.0.1:8000/api/',
20 'TEST':'http://test.ressources-humaines.auf.org/api/',
21 'PROD':'http://ressources-humaines.auf.org/api/',}