Forums

Static files not being served

Followed the steps at:

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

But static stylesheet files don't seem t be getting served-- the full path for a link would be:

<link ref="/static/bootstrap/css/bootstrap.min.css" rel="stylesheet">

There is a resource there but it doesn't seem to be affecting the html.

Hi there,

http://jpythonlearner.pythonanywhere.com/static/bootstrap/css/bootstrap.min.css loads ok for me, and http://jpythonlearner.pythonanywhere.com/ seems to have some styles applied to it. Could your browser cache be showing you an old version?

Working now thanks!

Thanks for confirming!