staticfiles hosting issue

I am converting settings.DEBUG to False so all styling and static knocked out
and retuned it again but not solving what can I do

I’m going to assume that you’re changing DEBUG to False because you’re in the process of setting up your production / deployment environment.

In that case, you’ll want to read the docs at:

These will explain what the staticfiles app is, how it works, and how you should be configuring your system to run in a “production deployment” environment.

thanks for your replay I used collectstatic and it worked copied files but not using them

That’s only one (relatively small) part of the overall picture. You will need to read and understand all of those docs to have a complete understanding of how to work with static files in a production environment.

1 Like