Re: Problem rendering media files in template during development

2015-07-22 Thread ltc.hotspot
Thank you very much, Charito ๐Ÿ˜Š Sent from Surface From: Charito Romeo Sent: โ€ŽTuesdayโ€Ž, โ€ŽJulyโ€Ž โ€Ž21โ€Ž, โ€Ž2015 โ€Ž11โ€Ž:โ€Ž11โ€Ž โ€ŽPM To: django-users@googlegroups.com Hi Hal, I'm using the code icon right on top of the gmail textbox. Click on the { } icon which is last icon on the top right

Re: Problem rendering media files in template during development

2015-07-21 Thread Charito Romeo
Hi Hal, I'm using the code icon right on top of the gmail textbox. Click on the { } icon which is last icon on the top right of your text box. On Wed, Jul 22, 2015 at 1:26 PM, wrote: > Hi Charito, > > What tool did you use to insert your python codes into the marked fields > below, i.e., sett

Re: Problem rendering media files in template during development

2015-07-21 Thread ltc.hotspot
Hi Charito, What tool did you use to insert your python codes into the marked fields below, i.e., settings.py, my models.py, etc? Regards, Hal Sent from Surface From: charito.romeo Sent: โ€ŽTuesdayโ€Ž, โ€ŽJulyโ€Ž โ€Ž21โ€Ž, โ€Ž2015 โ€Ž10โ€Ž:โ€Ž20โ€Ž โ€ŽPM To: django-users@googlegroups.com Never mind.

Re: Problem rendering media files in template during development

2015-07-21 Thread charito.romeo
Never mind. I figured it out. For some reason, {{ MEDIA_URL }} doesn't work but {{ media_url }} does. Now all my movies and images are rendered. Cheers. :) On Monday, July 20, 2015 at 3:16:52 PM UTC+8, charito.romeo wrote: > > Hi django folks, > > I ran into a hiccup when I was rendering media

Re: Problem rendering media files in template during development

2015-07-20 Thread Charito Romeo
Oh, I forgot to include the MEDIA_ROOT = os.path.join(BASE_DIR, 'media') in settings.py. On Mon, Jul 20, 2015 at 3:16 PM, charito.romeo wrote: > Hi django folks, > > I ran into a hiccup when I was rendering media files in templates during > development. I wanted to render the image and the video

Problem rendering media files in template during development

2015-07-20 Thread charito.romeo
Hi django folks, I ran into a hiccup when I was rendering media files in templates during development. I wanted to render the image and the video that was uploaded by the user BUT instead of the contents of the image and the video being rendered, the name of the file was rendered instead. I