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

Database queries optimizations #30

Open
lamcw opened this issue Sep 24, 2019 · 0 comments
Open

Database queries optimizations #30

lamcw opened this issue Sep 24, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@lamcw
Copy link
Contributor

lamcw commented Sep 24, 2019

Run filter before order_by or annotate.

For e.g.,
https://github.com/csesoc/compclub-web/blob/deac65c971e67a7bbe949cf7ca81e994d0f5c214/website/views.py#L48-L51

@lamcw lamcw added the enhancement New feature or request label Sep 24, 2019
@lamcw lamcw self-assigned this Sep 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant