Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

django media root

MEDIA_ROOT = os.path.join(BASE_DIR, "media")
MEDIA_URL = "/<folder name>/"
 
PREVIOUS NEXT
Tagged: #django #media #root
ADD COMMENT
Topic
Name
1+3 =