Hey Michael,

> Not sure exactly what you mean by getting the right url - it should
> point somewhere external to django - ie. a separate webserver -
> there's no magic there. If you've got apache running on your
> development machine, then this can just 
> behttp://localhost/mydjangoprojectmedia/
> as long as you've then got a directory called mydjangoprojectmedia in
> the right spot (/var/www/ on Ubuntu).
>
> If in a template you then have:
> <img src="{{ MEDIA_URL }}images/my_image.jpg" />
>
> everything should work, even if you later deploy your app - all you'll
> need to do is change the MEDIA_URL setting.
>
> -Michael


The part you wrote was more helpful i thought than how the site
explained it. I fixed that
and thanks again.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to