diff --git a/rcr/forms.py b/rcr/forms.py index 7d1add11..c9e4223c 100644 --- a/rcr/forms.py +++ b/rcr/forms.py @@ -25,4 +25,4 @@ class ItemForm(ModelForm): #fields = ["category", "level"] class AssessorAssignmentForm(Form): - items = ModelMultipleChoiceField(queryset=Item.objects.all()) \ No newline at end of file + items = ModelMultipleChoiceField(queryset=Item.objects.filter(assigned_to=None)) \ No newline at end of file diff --git a/rcr/templates/rcr/assessor_assignment_form.html b/rcr/templates/rcr/assessor_assignment_form.html index 911b2a1f..9fce2aa8 100644 --- a/rcr/templates/rcr/assessor_assignment_form.html +++ b/rcr/templates/rcr/assessor_assignment_form.html @@ -3,9 +3,10 @@ {% block content %} -