Skip to content

Conversation

@jeremystretch
Copy link
Member

Fixes: #19321

  • Introduce the get_prefetchable_fields() utility function
  • Call prefetch_related_objects() on newly-created components when instantiating a component template, to prefetch related objects before creating their search & changelog records during post_save

@jeremystretch jeremystretch requested review from a team and jnovinger and removed request for a team July 31, 2025 18:59
@jeremystretch jeremystretch marked this pull request as ready for review July 31, 2025 18:59
@jnovinger jnovinger merged commit a20715f into main Aug 1, 2025
10 checks passed
@jnovinger jnovinger deleted the 19321-bulk-device-imports branch August 1, 2025 14:24
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 1, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bulk importing devices extremely slow

3 participants