Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MEDIA ROOT
#1
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/'
Reply
#2
We need more information. What is BASE_DIR equal to? What is the full text of the error message you are getting?
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How would I be able to detect a media player app playing a video. phpjunkie 2 526 Oct-16-2023, 02:09 PM
Last Post: phpjunkie
  Python & Windows Media Player Extra 9 4,748 Apr-05-2022, 10:34 PM
Last Post: Extra
  Adding variable to Python code - media sentiment analysis Marietje 3 2,511 May-25-2021, 05:15 PM
Last Post: jefsummers
  Python - Import file sequence into Media Pool jensenni 1 2,080 Feb-02-2021, 05:11 PM
Last Post: buran
  Open windows media player minimised TamP 1 2,168 Aug-02-2020, 08:40 PM
Last Post: Larz60+
  unable to pass a input after changing the user from root to non root using python avinash 3 3,125 Apr-08-2019, 10:05 AM
Last Post: avinash
  If - a media player exists? Nwb 2 2,755 Jun-15-2018, 06:40 PM
Last Post: snippsat
  Script for media content and redirect in to a file puneet102 0 2,322 May-22-2018, 12:06 PM
Last Post: puneet102
  Pyglet Media: unjustifiable memory usage hbknjr 4 4,521 Aug-20-2017, 02:08 AM
Last Post: hbknjr

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020