Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: admin perf optimization for course-discovery #4496

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

AfaqShuaib09
Copy link
Contributor

@AfaqShuaib09 AfaqShuaib09 commented Nov 26, 2024

PROD-4225

This PR adds the get_queryset method to Django Admin registered models. The aim is to optimize database queries and reduce query counts wherever possible by customizing the way queries are fetched in the admin interface. It will avoid unnecessary data fetching and reduce overhead.

Screenshots

Before:
image

After:
image

Before:
image

After:
image

Before:
image

After:
image

and so on...

@AfaqShuaib09 AfaqShuaib09 marked this pull request as ready for review November 29, 2024 06:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants