You’ll first want to understand your deployment environment. You’ll at least need to know what web server (e.g. Apache, nginx) and what wsgi container (e.g. uWSGI, gunicorn) will be used in your production environment.
Then read:
-
Deploying Django | Django documentation | Django
and of all the related links on that page, at least this one: - Deployment checklist | Django documentation | Django
You’ll also want to read:
- Deploying static files | Django documentation | Django
- Managing static files (e.g. images, JavaScript, CSS) | Django documentation | Django
- The staticfiles app | Django documentation | Django
A “production-quality” deployment is likely to be one of the most complex issues most people face when working with Django because of the number of “connection points” between Django and the environment in which it runs. There’s a lot that all needs to be set up correctly for everything to work.