Skip to content

Commit

Permalink
♾️ Unlimited API (#218)
Browse files Browse the repository at this point in the history
# API llmit
Removes default `WAGTAILAPI_LIMIT_MAX`

Closes #217

## TODO
This might affect performance eventually, so a better solution would be
frontend pagination for the `/exhibits` and `/collections` routes. Then,
this setting can be set to the max page limit.
  • Loading branch information
mrharpo authored Nov 19, 2024
1 parent 3de749e commit 1fa409d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ov_wag/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,9 @@
'CLIENT_URLS': {'default': os.environ.get('OV_PREVIEW_URL')},
}

# TODO: Set this to a real limit once we create pagination for the frontend endpoints
WAGTAILAPI_LIMIT_MAX = None

# OIDC Provider settings
SITE_ID = 1
AUTHENTICATION_BACKENDS = [
Expand Down

0 comments on commit 1fa409d

Please sign in to comment.