Gitlab CSE Unil

paths.py 238 Bytes
Newer Older
Julien Furrer's avatar
Julien Furrer committed
1
2
3
4
5
6
7
8
9
10
11
12
import os

try:
    BASE_DIR = BASE_DIR
except NameError:
    BASE_DIR = os.path.dirname(os.path.dirname(__file__))

# Static Files
STATIC_ROOT = os.path.join(BASE_DIR, 'static')

# Media files
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')