Images don't display
rich4523
HOBBYOP

23 days ago

When i set debug to false in django settings.py file, images won't display on web pages.

$10 Bounty

5 Replies

Railway
BOT

23 days ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


Does this happen when working locally?


rich4523
HOBBYOP

22 days ago

I worked fine locally. It also loaded images once deployed it when debug was set to true. When I set it to false it stopped loading images


https://dev.to/vincod/django-staticfiles-and-media-not-showing-when-debug-false-fixed-139a

There are lots of articles/videos online regarding how to resolve this issue.


Railway

Hey there! We've found the following might help you get unblocked faster: - [🧵 JSON Print Statements Not Appearing in Railway Logs Despite Successful Application Functionality](https://station.railway.com/questions/json-print-statements-not-appearing-in-r-45a434c2) - [🧵 Application failed to respond](https://station.railway.com/questions/application-failed-to-respond-1916d143) - [🧵 Django and css not loading in my project](https://station.railway.com/questions/django-and-css-not-loading-in-my-project-a3476d20) If you find the answer from one of these, please let us know by solving the thread!

rich4523
HOBBYOP

22 days ago

I am using Django with whitenoise


Loading...