id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux
7356 django templates dont know where images live? lindec nobody I posted this problem on the google groups and found a hack that worked, but it's very unclean and very un-django-like. The problem, simply put, is that putting references to images, javascript or CSS in my templates just doesn't work. Django doesn't seem to know where my files live, or what the base directory is. I've tried absolute paths in my hrefs, placing CSS and JS in the same directory as templates and so on. Where exactly does Django start looking for these files? Is there some obscure setting that needs to be changed? I didn't see any information about this in the Django book. I was able to get it to work by uploading images to my other web server and using the direct URL to the image files that way, however, this is dirty and makes me have to clean up the URLs in my template when I deploy my Django app on a different server. closed Template system 0.96 invalid Unreviewed 0 0 0 0