refactoring pour couplage fort model form, abstraction utilisation JSON
[auf_django_emploi.git] / auf / django / emploi / settings.py
... / ...
CommitLineData
1# -*- encoding: utf-8 -*-
2
3import os
4from django.conf import settings
5
6# Absolute path to the directory that holds media.
7# Example: "/home/media/media.lawrence.com/"
8MEDIA_ROOT = getattr(settings, 'OE_MEDIA_ROOT',
9 os.path.join(os.path.dirname(__file__), 'media'))
10PRIVE_MEDIA_ROOT = getattr(settings, 'OE_PRIV_MEDIA_ROOT',
11 os.path.join(os.path.dirname(__file__), 'media_prive'))
12
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/"
16MEDIA_URL = '/media/'
17PRIVE_MEDIA_URL = '/prive/'
18
19RECRUTEMENT_URLS = {'DEV': getattr(settings, 'RECRUTEMENT_URL', 'http://127.0.0.1:8000/api/'),
20 'TEST':'http://test.ressources-humaines.auf.org/api/',
21 'PROD':'http://ressources-humaines.auf.org/api/',}