aboutsummaryrefslogtreecommitdiffstats
path: root/src/booking/quick_deployer.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/booking/quick_deployer.py')
-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 2ab18a6..1fd6a9c 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.user)
+ booking.collaborators.add(collaborator)
booking.save()