paths.py 200 Bytes Edit Raw Blame History 1 2 3 4 5 # 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