aboutsummaryrefslogtreecommitdiffstats
path: root/src/booking/quick_deployer.py
diff options
context:
space:
mode:
authorSawyer Bergeron <sawyerbergeron@gmail.com>2019-01-18 12:55:05 -0500
committerSawyer Bergeron <sawyerbergeron@gmail.com>2019-01-18 12:55:05 -0500
commit306c5add3a442c5585b244847fe127b055295ca6 (patch)
tree0ac3e1d3f27248b788b12dd2a09405fc1155443f /src/booking/quick_deployer.py
parenteae6892642b35ed0459e8cc86328c63cf5e87641 (diff)
Fix ConfigBundle not being set in quick deploy
booking.config_bundle was not getting set in quick deploy, making the booking detail page inaccurate Change-Id: If62518030cc5d1726cbc03efa745c38a99465881 Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
Diffstat (limited to 'src/booking/quick_deployer.py')
-rw-r--r--src/booking/quick_deployer.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/booking/quick_deployer.py b/src/booking/quick_deployer.py
index 9bc8c66..c431017 100644
--- a/src/booking/quick_deployer.py
+++ b/src/booking/quick_deployer.py
@@ -229,6 +229,7 @@ def create_from_form(form, request):
booking.end = timezone.now() + timedelta(days=int(length))
booking.resource = resource_bundle
booking.pdf = ResourceManager().makePDF(booking.resource)
+ booking.config_bundle = cbundle
booking.save()
print("users field:")
print(users_field)