-
Notifications
You must be signed in to change notification settings - Fork 2
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
Modify column Name content from username to first_name + last_name. A… #320
Conversation
…lso removes column Slack with slackid from the students list.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why remove this init?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be removed since this isn't a package.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This also isn't a package yet, so an init shouldn't go here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we still address these comments?
@@ -140,7 +140,8 @@ class StudentUnitDetailView(StudentViewsMixin, BaseUnitDetailView): | |||
|
|||
class InstructorUserListView(InstructorViewsMixin, ListView): | |||
model = get_user_model() | |||
queryset = get_user_model().objects.filter(is_student=True, failed_or_dropped=False) | |||
queryset = model.objects.filter(is_student=True, failed_or_dropped=False) | |||
#queryset = get_user_model().objects.filter(is_student=True, failed_or_dropped=False) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is ok to make this change, but please don't leave commented code 🙏 You can remove the second line.
<th scope="col" rowspan="2">Slack</th> | ||
{% endcomment %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can simply remove it. No need to comment lines of code.
…lso removes column Slack with slackid from the students list.
Changes
Issue(s)