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

Optimize assorted Django operations #627

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

Use guard clause pattern in ClubFairViewSet.current()

c5a912d
Select commit
Loading
Failed to load commit list.
Open

Optimize assorted Django operations #627

Use guard clause pattern in ClubFairViewSet.current()
c5a912d
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Apr 17, 2024 in 1s

48.85% of diff hit (target 69.11%)

View this Pull Request on Codecov

48.85% of diff hit (target 69.11%)

Annotations

Check warning on line 12 in backend/clubs/management/commands/update_club_counts.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/clubs/management/commands/update_club_counts.py#L12

Added line #L12 was not covered by tests

Check warning on line 17 in backend/clubs/management/commands/update_club_counts.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/clubs/management/commands/update_club_counts.py#L17

Added line #L17 was not covered by tests

Check warning on line 25 in backend/clubs/management/commands/update_club_counts.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/clubs/management/commands/update_club_counts.py#L25

Added line #L25 was not covered by tests

Check warning on line 334 in backend/clubs/views.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/clubs/views.py#L332-L334

Added lines #L332 - L334 were not covered by tests

Check warning on line 340 in backend/clubs/views.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/clubs/views.py#L338-L340

Added lines #L338 - L340 were not covered by tests

Check warning on line 347 in backend/clubs/views.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/clubs/views.py#L345-L347

Added lines #L345 - L347 were not covered by tests

Check warning on line 353 in backend/clubs/views.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/clubs/views.py#L353

Added line #L353 was not covered by tests

Check warning on line 357 in backend/clubs/views.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/clubs/views.py#L355-L357

Added lines #L355 - L357 were not covered by tests

Check warning on line 364 in backend/clubs/views.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/clubs/views.py#L364

Added line #L364 was not covered by tests

Check warning on line 371 in backend/clubs/views.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/clubs/views.py#L371

Added line #L371 was not covered by tests

Check warning on line 383 in backend/clubs/views.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/clubs/views.py#L383

Added line #L383 was not covered by tests

Check warning on line 392 in backend/clubs/views.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/clubs/views.py#L392

Added line #L392 was not covered by tests

Check warning on line 400 in backend/clubs/views.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/clubs/views.py#L397-L400

Added lines #L397 - L400 were not covered by tests

Check warning on line 402 in backend/clubs/views.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/clubs/views.py#L402

Added line #L402 was not covered by tests

Check warning on line 405 in backend/clubs/views.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/clubs/views.py#L405

Added line #L405 was not covered by tests

Check warning on line 414 in backend/clubs/views.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/clubs/views.py#L410-L414

Added lines #L410 - L414 were not covered by tests

Check warning on line 419 in backend/clubs/views.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/clubs/views.py#L419

Added line #L419 was not covered by tests

Check warning on line 424 in backend/clubs/views.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/clubs/views.py#L424

Added line #L424 was not covered by tests

Check warning on line 430 in backend/clubs/views.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/clubs/views.py#L427-L430

Added lines #L427 - L430 were not covered by tests

Check warning on line 434 in backend/clubs/views.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/clubs/views.py#L432-L434

Added lines #L432 - L434 were not covered by tests

Check warning on line 626 in backend/clubs/views.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/clubs/views.py#L626

Added line #L626 was not covered by tests

Check warning on line 2992 in backend/clubs/views.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/clubs/views.py#L2991-L2992

Added lines #L2991 - L2992 were not covered by tests

Check warning on line 2997 in backend/clubs/views.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/clubs/views.py#L2997

Added line #L2997 was not covered by tests

Check warning on line 4906 in backend/clubs/views.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/clubs/views.py#L4905-L4906

Added lines #L4905 - L4906 were not covered by tests

Check warning on line 4910 in backend/clubs/views.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/clubs/views.py#L4908-L4910

Added lines #L4908 - L4910 were not covered by tests