From 306c5add3a442c5585b244847fe127b055295ca6 Mon Sep 17 00:00:00 2001 From: Sawyer Bergeron Date: Fri, 18 Jan 2019 12:55:05 -0500 Subject: 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 --- src/booking/quick_deployer.py | 1 + 1 file changed, 1 insertion(+) 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) -- cgit 1.2.3-korg