aboutsummaryrefslogtreecommitdiffstats
path: root/src/booking/forms.py
diff options
context:
space:
mode:
authorSawyer Bergeron <sbergeron@iol.unh.edu>2021-04-06 17:38:49 +0000
committerGerrit Code Review <gerrit@opnfv.org>2021-04-06 17:38:49 +0000
commit241ff304980c8bf542fdd1a2a47f73accf912ee1 (patch)
tree0192336d1a72df98ca5056b190f6d29e683079a0 /src/booking/forms.py
parentf1456220fcc098cb0f5e9fc60124680ff8aba6af (diff)
parentd007fa661e2faf77e70cb75c8d520941e907ebf7 (diff)
Merge "Remove exposure of users on dashboard"
Diffstat (limited to 'src/booking/forms.py')
-rw-r--r--src/booking/forms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/booking/forms.py b/src/booking/forms.py
index e7be70f..9cec35d 100644
--- a/src/booking/forms.py
+++ b/src/booking/forms.py
@@ -40,7 +40,7 @@ class QuickBookingForm(forms.Form):
)
self.fields['users'] = SearchableSelectMultipleField(
- queryset=UserProfile.objects.select_related('user').exclude(user=user),
+ queryset=UserProfile.objects.filter(public_user=True).select_related('user').exclude(user=user),
items=get_user_items(exclude=user),
required=False,
**get_user_field_opts()