Merge lp:~mhall119/loco-team-portal/speed-up-teams-list into lp:loco-team-portal
Proposed by
Michael Hall
Status: | Merged |
---|---|
Approved by: | Chris Johnston |
Approved revision: | 448 |
Merged at revision: | 450 |
Proposed branch: | lp:~mhall119/loco-team-portal/speed-up-teams-list |
Merge into: | lp:loco-team-portal |
Diff against target: |
75 lines (+12/-11) 3 files modified
loco_directory/teams/models.py (+11/-6) loco_directory/teams/views.py (+0/-2) loco_directory/templates/teams/team_list.html (+1/-3) |
To merge this branch: | bzr merge lp:~mhall119/loco-team-portal/speed-up-teams-list |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Chris Johnston | Approve | ||
Review via email: mp+66342@code.launchpad.net |
Commit message
Reduces the number of DB hits and code process for the teams list.
Description of the change
Overview
========
Reduce the number of DB hits and code process for the teams list
Details
=======
There was a lot of unnecessary calls to the DB and list processing when generating the teams list. These changes reduce the amount of work that goes into generating this page.
To post a comment you must log in.
Looks great