[Answered ]-Django doesn't show image with debug True

2👍

I found out after reading more on the docs that DEBUG flag is set to run Django’s test server. Hence, if DEBUG=False, then static files won’t be served by Django’s manage.py runserver solution, and we have two options thereafter-

  1. Deploy on a different server (Apache, Nginx,etc)
  2. Use this module (White noise) for serving static files.

Leave a comment