Skip to content

Commit

Permalink
Update DJANGO_ENV docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ipmb committed Feb 10, 2024
1 parent f93e910 commit b6d0b9e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ cog.out('\n'.join(mdown.split('\n')[1:]))
* default: `sqlite:///./sqlite3.db`
* **DJANGO_ENV**
* description: Toggle deployment settings for local development or production
* type: `Literal['development', 'production']`
* default: `development`
* type: `Literal['development', 'dev', 'production']`
* default: `production`
* **LOG_LEVEL**
* description: Python logging level
* type: `Literal['DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL']`
Expand Down
2 changes: 1 addition & 1 deletion project_name/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class Config(GoodConf):
description="A string with the database URL as defined in "
"https://github.com/jacobian/dj-database-url#url-schema",
)
DJANGO_ENV: Literal["development", "production"] = Field(
DJANGO_ENV: Literal["development", "dev", "production"] = Field(
default="production",
description="Toggle deployment settings for local development or production",
)
Expand Down

0 comments on commit b6d0b9e

Please sign in to comment.