paths.py 200 Bytes
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
import os

BASE_DIR = os.path.realpath(os.path.dirname(os.path.dirname(__file__)))
print 'settings.BASE_DIR is "%s"' % BASE_DIR