# Take environment variables from .env file environ.Env.read_env(BASE_DIR / '.env') # 这个路径是项目的根目录