Python Forum

Full Version: MEDIA ROOT
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
When I am running this code from Tutorial of Cory Sheafor ... I am not able to make a file named profile.html in my templates/users/ folder :/ .. is that something wrong with the way I am going?

MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
MEDIA_URL = '/media/'
We need more information. What is BASE_DIR equal to? What is the full text of the error message you are getting?