-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: housekeepingChanges to the application which do not directly impact the end userChanges to the application which do not directly impact the end user
Description
Proposed Changes
need to add some select_related and prefetch_related to the Change Log list view to reduce the number of SQL queries.
Justification
On the demo site noticed the Change log list view was somewhat slow, checking in the debug toolbar with demo data saw it was generating over 100 SQL queries. For longer lists it will just get slower.
Metadata
Metadata
Assignees
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: housekeepingChanges to the application which do not directly impact the end userChanges to the application which do not directly impact the end user