From: Sawyer Bergeron Date: Fri, 18 Jan 2019 17:55:05 +0000 (-0500) Subject: Fix ConfigBundle not being set in quick deploy X-Git-Tag: 2.0.99~157^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=306c5add3a442c5585b244847fe127b055295ca6;p=laas.git 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 --- 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)