From a6cc6e21485dfe2e41c324094f020c891a366161 Mon Sep 17 00:00:00 2001 From: Rob Hudson Date: Thu, 31 Oct 2024 11:09:37 -0700 Subject: [PATCH] Update docs for Django DATABASES setting --- docs/parsers.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/parsers.rst b/docs/parsers.rst index 7234044..cc7f09b 100644 --- a/docs/parsers.rst +++ b/docs/parsers.rst @@ -136,7 +136,7 @@ For example:: from everett.manager import ConfigManager config = ConfigManager.basic_config() - DATABASE = { + DATABASES = { "default": config("DATABASE_URL", parser=dj_database_url.parse) } @@ -151,7 +151,7 @@ With a default:: from everett.manager import ConfigManager config = ConfigManager.basic_config() - DATABASE = { + DATABASES = { "default": config( "DATABASE_URL", default="sqlite:///my.db", parser=dj_database_url.parse )