On Sep 22, 7:17 am, taijirobot <guangyudongb...@gmail.com> wrote:
> well, guys, I've solved this problem, but in a bad way.
>
> Since I'm running the site locally with the default django server, the
> MEDIA_URL became a confusing thing to me. Luckily I have an Apache
> server running on my machine, so I just set the MEDIA_URL to 'http://
> localhost/media/' and copied the files needed in to it.
>
> I think it's a bad way, even no way worse. But it works :)
>

I don't know why you think this is a bad way to do it. It's a
perfectly good method. Django doesn't usually serve your media for
you, although it can be made to do it via the development server only,
so using Apache is the normal way to do it.
--
DR.
--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to