Hello,everyone. I want to load the css/js files in my development.
I write the code follows in my "urls.py" accordding to "How to serve static files <http://docs.djangoproject.com/en/dev/howto/static-files/>" (r'^yzx_media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': '/media'} but it doesn't work. when I input the url "http://localhost:8000/yzx_media/css/tablednd.css" in the browser which show me this message on web page: Page not found (404) Request Method: GET Request URL: http://localhost:8000/yzx_media/css/tablednd.css "/media/css/tablednd.css" does not exist I'm sure there is a tablednd.css file in the /media/css/ directory . I don't know why ,if I didn't something wrong ? and what can I do to fix it? any answers are welcome. Thank you! -- Rita Liang -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.