Skip to content

Commit

Permalink
API: don't allow expanding recursively (#11228)
Browse files Browse the repository at this point in the history
  • Loading branch information
stsewd committed Mar 19, 2024
1 parent 32b734e commit b59ecfd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions readthedocs/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -881,6 +881,9 @@ def SOCIALACCOUNT_PROVIDERS(self):
"PAGE_SIZE": 10,
"TEST_REQUEST_DEFAULT_FORMAT": "json",
}
REST_FLEX_FIELDS = {
"RECURSIVE_EXPANSION_PERMITTED": False,
}

SILENCED_SYSTEM_CHECKS = ["fields.W342"]

Expand Down

0 comments on commit b59ecfd

Please sign in to comment.