On 22 sep, 08:17, 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 :)

Check out [1] for more tips on serving static media.

[1] http://docs.djangoproject.com/en/dev/howto/static-files/


Regards,

Joost
--~--~---------~--~----~------------~-------~--~----~
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