Skip to content

Commit

Permalink
📝[#344] add config variable to documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Coperh committed Apr 23, 2024
1 parent f00eab2 commit d02fe83
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/installation/config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ Other settings
* ``DISABLE_2FA``: whether to disable two-factor authentication. Defaults to ``False``.
If set to ``False``, 2FA will be required if not using OIDC.

* ``LOG_REQUESTS``: whether to enable logging of outgoing HTTP requests. Defaults to ``False``.

* ``LOG_OUTGOING_REQUESTS_DB_SAVE``: whether to save logged requests to the database. Defaults to ``False``.

Initial superuser creation
--------------------------

Expand Down
2 changes: 1 addition & 1 deletion src/objects/conf/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@

LOGGING_DIR = os.path.join(BASE_DIR, "log")
LOG_REQUESTS = config("LOG_REQUESTS", default=False)
LOG_OUTGOING_REQUESTS_DB_SAVE = config("LOG_OUTGOING_REQUESTS_DB_SAVE", default=True)
LOG_OUTGOING_REQUESTS_DB_SAVE = config("LOG_OUTGOING_REQUESTS_DB_SAVE", default=False)

LOGGING = {
"version": 1,
Expand Down

0 comments on commit d02fe83

Please sign in to comment.