Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ipmb committed Feb 10, 2024
1 parent 464e79b commit 39da090
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ cog.out('\n'.join(mdown.split('\n')[1:]))
* type: `list[str]`
* default: `['*']`
* **DATABASE_URL**
* description: A string with the database URL as defined in https://github.com/jacobian/dj-database-url#url-schema
* description: A string with the database URL as defined in https://github.com/jazzband/dj-database-url#url-schema
* type: `str`
* default: `sqlite:///./sqlite3.db`
* **DJANGO_ENV**
Expand All @@ -115,9 +115,9 @@ cog.out('\n'.join(mdown.split('\n')[1:]))
* description: A long random string you keep secret https://docs.djangoproject.com/en/{{ docs_version }}/ref/settings/#secret-key
* type: `str`
* **ENVIRONMENT**
* description: Deploy environment
* description: Name of deployed environment (e.g. 'staging', 'production')
* type: `str`
* default: `test`
* default: `development`
* **BASIC_AUTH_CREDENTIALS**
* description: Basic Auth credentials for the site in the format 'username:password'
* type: `str`
Expand Down
6 changes: 3 additions & 3 deletions project_name/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Config(GoodConf):
DATABASE_URL: str = Field(
default="sqlite:///./sqlite3.db",
description="A string with the database URL as defined in "
"https://github.com/jacobian/dj-database-url#url-schema",
"https://github.com/jazzband/dj-database-url#url-schema",
)
DJANGO_ENV: Literal["development", "dev", "production"] = Field(
default="production",
Expand All @@ -38,8 +38,8 @@ class Config(GoodConf):
"https://docs.djangoproject.com/en/{{ docs_version }}/ref/settings/#secret-key",
)
ENVIRONMENT: str = Field(
"test",
description="Deploy environment",
"development",
description="Name of deployed environment (e.g. 'staging', 'production')",
)
BASIC_AUTH_CREDENTIALS: str = Field(
default="",
Expand Down

0 comments on commit 39da090

Please sign in to comment.