From 55e5f10d73cfb17bdfdb8587d3b0712e872902bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Tue, 21 Feb 2017 16:25:17 +0200 Subject: [PATCH] os.env -> os.environ --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f8fafdb7..cd54a777 100644 --- a/README.md +++ b/README.md @@ -123,10 +123,10 @@ configuration from environment variables like so: DATABASES = { 'default': { - 'ENGINE': os.env['DB_ENGINE'], - 'NAME': os.env['DB_NAME'], - 'USER': os.env['DB_USER'], - 'PASSWORD': os.env['DB_PASSWORD'], + 'ENGINE': os.environ['DB_ENGINE'], + 'NAME': os.environ['DB_NAME'], + 'USER': os.environ['DB_USER'], + 'PASSWORD': os.environ['DB_PASSWORD'], 'TEST': {'CHARSET': 'UTF8'} } }