Skip to content
Snippets Groups Projects

Avoid thousands of SQL queries when opening many endpoints in the browser

Merged Erwan Rouchet requested to merge base-template-everywhere into master

When opening an endpoint in the browser to look at its queries from the debug toolbar, it is common to wait for quite a while because the HTML form loads up to a 1000 items for all PrimaryKeyRelatedField (#634 (closed), #642 (closed)) so I took a few minutes to just add the usual one-line fix to every single affected PrimaryKeyRelatedField…

Edited by Erwan Rouchet

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading