aboutsummaryrefslogtreecommitdiffstats
path: root/src/booking
diff options
context:
space:
mode:
authorSawyer Bergeron <sbergeron@iol.unh.edu>2021-09-30 16:33:01 -0400
committerSawyer Bergeron <sbergeron@iol.unh.edu>2021-10-01 14:42:32 -0400
commit5b70b8f1b8bbbe6aeec43b8d8dfdc6b7cc68bc9c (patch)
tree03670c3a69ec3dd277efc40bbddd154549b32898 /src/booking
parent529b2521627b17142284c55c744812129edc71e8 (diff)
Fixes for collaborator field
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> Change-Id: I3dbdedf26fa84617ea7680a0f99e032d88f1ea98 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
Diffstat (limited to 'src/booking')
-rw-r--r--src/booking/quick_deployer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/booking/quick_deployer.py b/src/booking/quick_deployer.py
index 1fd6a9c..2ab18a6 100644
--- a/src/booking/quick_deployer.py
+++ b/src/booking/quick_deployer.py
@@ -269,7 +269,7 @@ def create_from_form(form, request):
booking.pdf = PDFTemplater.makePDF(booking)
for collaborator in users_field: # list of Users (not UserProfile)
- booking.collaborators.add(collaborator)
+ booking.collaborators.add(collaborator.user)
booking.save()