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-
- Deploy on a different server (Apache, Nginx,etc)
- Use this module (White noise) for serving static files.
Source:stackexchange.com