Django staticfiles is the most common problem you need to solve before putting your app on the production. In this tutorial, I and you will walk through the solution options, included.
- runserver: Only in development environment.
- gunicorn: Use
gunicorn
as your app server. - nginx: Put
nginx
web server in a front of your app server (gunicorn). - whitenoise: Let your django app self-serve static files.