aboutsummaryrefslogtreecommitdiffstats
path: root/src/booking/lib.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/booking/lib.py')
-rw-r--r--src/booking/lib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/booking/lib.py b/src/booking/lib.py
index 8132c75..7a4c261 100644
--- a/src/booking/lib.py
+++ b/src/booking/lib.py
@@ -23,7 +23,7 @@ def get_user_field_opts():
def get_user_items(exclude=None):
- qs = UserProfile.objects.select_related('user').exclude(user=exclude)
+ qs = UserProfile.objects.filter(public_user=True).select_related('user').exclude(user=exclude)
items = {}
for up in qs:
item = {