Skip to content

Commit

Permalink
fix(settings): set number of relations to 100
Browse files Browse the repository at this point in the history
This setting still uses the old APIS_ENTITIES settings system.
  • Loading branch information
b1rger committed Mar 5, 2024
1 parent 33a0bcc commit 8e6d384
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions sicprod/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,12 @@ def apis_list_view_object_filter(view, queryset):
}

LOG_LIST_NOSTAFF_EXCLUDE_APP_LABELS = ["reversion", "admin", "sessions", "auth"]

APIS_ENTITIES = {
"Event": {"relations_per_page": 100},
"Function": {"relations_per_page": 100},
"Institution": {"relations_per_page": 100},
"Person": {"relations_per_page": 100},
"Place": {"relations_per_page": 100},
"Salary": {"relations_per_page": 100},
}

0 comments on commit 8e6d384

Please sign in to comment.