There are many configuration variables that need to be created or updated for production. The production environment is a very hostile environment. The following is the checklist that you should go through for deployment. Check the
setting.py file properly, as each setting must be defined in the right way to keep the project secure.
Settings can be environment-specific, such as when you run the settings locally. The database credentials might change and even the database can change according to the environment. While conducting the process of deployment, enable the optional security features.
Enable performance optimizations. The first step to do so is to disable debug, which enhances the performance of the website. ...