| 1 | # -*- encoding: utf-8 -*- |
| 2 | |
| 3 | import os |
| 4 | from django.conf import settings |
| 5 | |
| 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')) |
| 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/" |
| 16 | MEDIA_URL = '/media/' |
| 17 | PRIVE_MEDIA_URL = '/prive/' |
| 18 | |
| 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/',} |