Python Forum
MEDIA ROOT - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: MEDIA ROOT (/thread-17116.html)



MEDIA ROOT - ionezation - Mar-29-2019

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/'



RE: MEDIA ROOT - ichabod801 - Mar-29-2019

We need more information. What is BASE_DIR equal to? What is the full text of the error message you are getting?