Forums

Static Files not loading in production

Hello

I am setting up my new project in production, everything seems to be fine but the static files. They work in development, and I have exactly the same configuration as in my other pythonanywhere project where the everything is running well.

I followed the instruction in the link:

https://help.pythonanywhere.com/pages/DjangoStaticFiles/

to no avail:

Probably missing a minor step, but have been around this for more than 1 hour,

please can you help me?

thanks in advance, Jaime

This help page has some hints and tips on debugging static files -- if you can't get it to work by following the steps there, there's some information that you can provide to help us help you debug it -- the help page explains what.

-

Hello again,

I found what was happening. my static files had uppercase characters and in production they were not recognized when I referenced them with lower case. but in development they were recognized when I referenced them with lowercase.

Should have realized I had bootstrap staticfiles working but was blinded by the missing images. my bad.

Thanks

Good to see that you were able to figure it out. Is your local machine Windows one?

yes it's running Windows 10