Skip to content

Commit

Permalink
Update docs for Django DATABASES setting
Browse files Browse the repository at this point in the history
  • Loading branch information
robhudson authored and willkg committed Oct 31, 2024
1 parent 4f24ced commit 90c517b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/parsers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand All @@ -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
)
Expand Down

0 comments on commit 90c517b

Please sign in to comment.