Hi,

I have a simple problem I can't seem to sort out, I can't make use of
the media root under the built in server when developing.

I have done this in main.py in my project:

MEDIA_ROOT = '/path/to/some/folder/www/'
MEDIA_URL = 'http://localhost:8000/www/'

I expected everything under the MEDIA_URL to be served from the
MEDIA_ROOT, but all I get are 404s:

Starting server on port 8000 with settings module 'test.settings.main'.
Go to http://127.0.0.1:8000/ for Django.
Quit the server with CONTROL-C (Unix) or CTRL-BREAK (Windows).
[13/Oct/2005 15:36:37] "GET /contact/ HTTP/1.1" 200 5873
[13/Oct/2005 15:36:37] "GET /www/styles/main.css HTTP/1.1" 404 1089

Any ideas? Thanks! 

jms.

Reply via email to