liangcai
2/2/2016 - 3:17 PM

From http://stackoverflow.com/questions/9847911/get-absolute-path-of-django-app

import os.path

PROJECT_ROOT = os.path.abspath(os.path.dirname(__file__))

# PROJECT_ROOT = os.path.dirname(os.path.abspath(__file__))