Your environment variables file —.env, can be anything and anywhere —.envs/.local, .env.prod, as long as you configure it properly in your settings:
# settings.pyimport os
import environ
# Set the project base directoryBASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))# Initiate related env classenv = environ.Env()# Take environment variables from .env.dev fileenviron.Env.read_env(os.path.join(BASE_DIR,'.env.dev')...