-
Notifications
You must be signed in to change notification settings - Fork 81
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
Issue #206 solve: Autocomplete search fields #217
base: master
Are you sure you want to change the base?
Conversation
commit b7f1d0adeba8b4e4b9371edd94511be532021e38 Author: Zuzanna Kaczorek <zk429289@students.mimuw.edu.pl> Date: Mon Mar 6 15:26:24 2023 +0100 Fixing what I just messed up with git add and branches commit f12cd3e1d5b59676b6ad9a51e45976c495fd7c5c Author: Zuzanna Kaczorek <zk429289@students.mimuw.edu.pl> Date: Mon Mar 6 15:06:47 2023 +0100 Fixtures for teachers modified to include join_date commit 91b043a Author: Zuzanna Kaczorek <zk429289@students.mimuw.edu.pl> Date: Mon Jan 30 17:16:55 2023 +0100 (Partial solve for sio2project#94) Added timestamps (join date) for teachers. commit 5498524 Author: Zuzanna Kaczorek <zk429289@students.mimuw.edu.pl> Date: Mon Jan 16 21:26:47 2023 +0100 Added search fields to admin's view on teachers, added more fields to show on teachers list
…ield for adding permissions for teachers to a contest
…i into autocomplete-search-fields
I would also add autocompletion to the form for adding new participants to a contest. PS. |
.gitignore
Outdated
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.
please remove this file from PR
@@ -695,3 +695,7 @@ def reattach_problem_confirm_view(request, problem_instance_id, contest_id): | |||
'contests/reattach_problem_confirm.html', | |||
{'problem_instance': problem_instance, 'destination_contest': contest}, | |||
) | |||
|
|||
def get_teacher_names(request): |
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 view needs to be protected (i.e. only for admins)
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.
remove .gitignore
fix permission issues
…a name (teacher_search) that it should know as far as I understand.
I reorganized admin.py and forms.py in contests because I found a form in admin.py
Also, I added autocomplete search field in a place found in the issue, works as intended.