You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After changing to "DJANGO_DEBUG=False" on the new file docker-compose-prod.yml, I spin down the Docker container and start it up again as instructed, and the page http://127.0.0.1:8000/debug behaves as expected, but the rest of the existing pages show problems:
Images won't load and on the books page the list looks cut off.
The text was updated successfully, but these errors were encountered:
Kind of late to respond, but this is the expectted behavior. When DEBUG=False, Django does not serve static and media files. One possible way is to create staticfiles and mediafiles volumes inside Docker.
After changing to "DJANGO_DEBUG=False" on the new file docker-compose-prod.yml, I spin down the Docker container and start it up again as instructed, and the page http://127.0.0.1:8000/debug behaves as expected, but the rest of the existing pages show problems:
Images won't load and on the books page the list looks cut off.
The text was updated successfully, but these errors were encountered: