💦Python-Decouple
Python Decouple
Install:
pip install python-decouplepipenv install python-decoupleImport the config object:
from decouple import config, CsvRetrieve the configuration parameters:
SECRET_KEY = config('SECRET_KEY')
DEBUG = config('DEBUG', default=False, cast=bool)For Allowed Host:
Postgres database config:
Last updated