pip install python-dotenv
settings.py:
import os
from dotenv import load_dotenv
load_dotenv()
This is for Django to recognize and read our environment variables.
pip install python-dotenv
import os
from dotenv import load_dotenv
load_dotenv()
This is for Django to recognize and read our environment variables.
Your progress
10 out of 30 finished
Your progress
10 out of 30 finished
Access the full experience now