How do you configure MEDIA_ROOT and MEDIA_URL?
How do you configure MEDIA_ROOT
and MEDIA_URL
?
This is mentioned in this answer and this doc, but no documentation is provided about how to actually set up these variables and configure your system appropriately. I tried googling and couldn't find anything.
Also, it seems like there is a setting ASKBOT_FILE_UPLOAD_DIR
. Since avatars are user uploaded, can't they just be put in ASKBOT_FILE_UPLOAD_DIR
, which makes configuration simpler?
Comments