/ Published in: Django
Relative paths, usually used in settings.py.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
import os here = lambda x: os.path.join(os.path.abspath(os.path.dirname(__file__)), x)