We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We often need to represent assignmentgroup in listings, breadcrumbs, etc. For now we have solved this with one of the following:
get_candidates()
get_students()
name
This is not good DRY, so we should generalize this in a short_displayname property with the following algorithm::
short_displayname
if anoymous: return get_candidates() elif name: return name else: return get_students()
Note that get_candidates and get_students return a list of candidateID/usernames.
get_candidates
get_students
The text was updated successfully, but these errors were encountered:
apps.core.models.assignment_group: Added short_displayname property.
778ab6f
This closes #498.
No branches or pull requests
We often need to represent assignmentgroup in listings, breadcrumbs, etc. For now we have solved this with one of the following:
get_candidates()
get_students()
with an if checking for anonymous assignments.name
with the above.This is not good DRY, so we should generalize this in a
short_displayname
property with the following algorithm::Note that
get_candidates
andget_students
return a list of candidateID/usernames.The text was updated successfully, but these errors were encountered: