Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Improve config documentation
Browse files Browse the repository at this point in the history
Fix wrong word and add information that I think is useful, based on personal
usage.
  • Loading branch information
Shir0kamii authored and ramnes committed Aug 13, 2018
1 parent 8c7e277 commit 2cfdcfd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/source/config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ a Python configuration file.
Environment
===========

Any key present in the documentation at this point will be checked in the
Any key present in the configuration at this point will be checked in the
environment. If a corresponding variable is found in the environment, its value
will override the current configuration.

Expand All @@ -40,3 +40,6 @@ You can override it by putting that in the environment:
In your code, it will not be treated a string or an integer, but as `True`,
because Stupeflask will have detected that it was a boolean and cast it.

If you want to invoke this behavior at another moment, use the
:meth:`from_env method <flask_stupe.config.Config.from_env>`.

0 comments on commit 2cfdcfd

Please sign in to comment.