summaryrefslogtreecommitdiffstats
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
commit77dc4f8df107a3dd5a9c22198f34a0cf84a30eb3 (patch)
tree9ab12ff7932c70ba223c505d814be23d56bcad8b
parent22bcbe3dda67bb8c4dbd632a8ac8925f6b0d9b5e (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>
-rw-r--r--dashboard/src/booking/quick_deployer.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/dashboard/src/booking/quick_deployer.py b/dashboard/src/booking/quick_deployer.py
index 9bc8c66..c431017 100644
--- a/dashboard/src/booking/quick_deployer.py
+++ b/dashboard/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)