Ajout des pièces jointes. 1763: Absence visualisation pièces jointes
[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
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/'