thunderstore-io / Thunderstore

Thunderstore is a mod database and API for downloading mods. Thunderstore Discord: https://discord.thunderstore.io/
https://thunderstore.io/
GNU Affero General Public License v3.0
128 stars 27 forks source link

Improve Community and Community-adjacent queries #963

Closed MythicManiac closed 9 months ago

MythicManiac commented 9 months ago

Improve some of the more commonly used queries by prefetching data which is guaranteed to be used by the base templates.

codecov[bot] commented 9 months ago

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (7d87d78) 92.89% compared to head (7e88c94) 92.93%. Report is 1 commits behind head on master.

Files Patch % Lines
django/thunderstore/repository/mixins.py 85.71% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #963 +/- ## ========================================== + Coverage 92.89% 92.93% +0.03% ========================================== Files 286 286 Lines 8478 8488 +10 Branches 788 788 ========================================== + Hits 7876 7888 +12 + Misses 497 496 -1 + Partials 105 104 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.