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

EXAMPLE PR with pseudo code for filtering submissions based on teams #7

Draft
wants to merge 1 commit into
base: pedrovgp/master
Choose a base branch
from

Conversation

pedrovgp
Copy link

This is just a dummy PR (won't merge), with pseudo code for discovery in https://tasks.opencraft.com/browse/SE-4678

@pedrovgp pedrovgp self-assigned this Sep 24, 2021
staff_teams = Teams.objects.filter(user_id=scorer_id)
staff_workflows = staff_workflows.filter(
submission__student__teams__intersect_with=staff_teams
)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tracking the function render_staff_grade_form, this is where it all ends up, this is where we would need to implement the teams filtering.

@pedrovgp pedrovgp changed the title EXAMPLE PR with pseudo code EXAMPLE PR with pseudo code for filtering submissions based on teams Sep 24, 2021
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.

1 participant