diff options
author | Sawyer Bergeron <sawyerbergeron@gmail.com> | 2019-01-18 12:55:05 -0500 |
---|---|---|
committer | Sawyer Bergeron <sawyerbergeron@gmail.com> | 2019-01-18 12:55:05 -0500 |
commit | 306c5add3a442c5585b244847fe127b055295ca6 (patch) | |
tree | 0ac3e1d3f27248b788b12dd2a09405fc1155443f | |
parent | eae6892642b35ed0459e8cc86328c63cf5e87641 (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-- | src/booking/quick_deployer.py | 1 |
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) |