Answers for "relative path django"

0

relative path django

import os
from yourproject.settings import BASE_DIR
file_path = os.path.join(BASE_DIR, 'relative_path')
Posted by: Guest on October-17-2021

Python Answers by Framework

Browse Popular Code Answers by Language