Forums

bootstrap themes not working

Hi, I've made a simple blog, but for some reason my static files are not showing up. I have a folder under djBlog/static with some image files and the css/js/fonts folders for bootstrap, but none of those appear to be working. I'm not getting any error messages. Any ideas?

The url is http://emilyl.pythonanywhere.com/.

Hi Emily,

Looks like a Django problem, which personally I can't help with. I think your CSS files in /static are being found OK, by the way.

I don't know if it helps, but I get a Django error message if I try to browse to one of your images directly, e.g. http://emilyl.pythonanywhere.com/static/bg.png

Jim

You can use Djangos collectstatic to find static files and put them in one place and then create a static file mapping to point to the folder.