Django: How to manage development and production settings?
What we do here is to have an .ENV file for each environment. This file contains a lot of variables like ENV=development
The settings.py file is basically a bunch of os.environ.get(), like ENV = os.environ.get('ENV')
So when you need to access that you can do ENV = settings.ENV.
You would have to have a .env file for your production, testing, development.
I have been developing a basic app. Now at the deployment stage it has become clear I have need for both a local settings and production settings.
It would be great to know the following:

How best to deal with development and production settings. 
How to keep apps such as django-debug-toolbar only in a development environment.
Any other tips and best practices for development and deployment settings.