django_blog/mysite/test.py
2017-12-14 18:07:49 +03:00

6 lines
166 B
Python

import os
print os.path.abspath(__file__)
PROJECT_ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
print os.path.join(PROJECT_ROOT, 'static')