diff options
Diffstat (limited to 'servo/forms')
-rw-r--r-- | servo/forms/admin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servo/forms/admin.py b/servo/forms/admin.py index 2575865..0fa0058 100644 --- a/servo/forms/admin.py +++ b/servo/forms/admin.py @@ -18,7 +18,7 @@ from servo.models import User, Group, Checklist class UserUploadForm(forms.Form): datafile = forms.FileField() - location = forms.ModelChoiceField(queryset=Location.objects.all()) + location = forms.ModelChoiceField(queryset=Location.objects.filter(enabled=True)) queues = forms.ModelMultipleChoiceField( queryset=Queue.objects.all() ) |