Which of these is the correct way to serve static files in production?
- A Django serves them automatically with DEBUG False
- B Run collectstatic and serve them from a web server or CDN
- C Store them in the database
- D Inline them in templates
Answer
Run collectstatic and serve them from a web server or CDN
Django deliberately does not serve static files when DEBUG is False. collectstatic gathers them for the web server or a storage backend.





