summaryrefslogtreecommitdiffstats
path: root/dashboard/src/api
diff options
context:
space:
mode:
authorSawyer Bergeron <sbergeron@iol.unh.edu>2018-01-05 16:07:13 -0500
committerSawyer Bergeron <sbergeron@iol.unh.edu>2018-01-09 15:03:34 -0500
commitc32479489db670904579a580a918f3513581fda9 (patch)
tree9f4778cbd48ce5bf83c86830e7e5117931c73a47 /dashboard/src/api
parentdc387ea4307eeb4c676c796ec1380d20564e5ef9 (diff)
Implement Booking Modification Interface
Jira: PHAROS-330 Users can change start date if it has not already occurred, and can change end date, purpose, and both installer and scenario. Standard checks apply similar to when initially creating a booking. Change-Id: Ibae7fe91a58bd6e0741db065265c05c3823bdc27 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
Diffstat (limited to 'dashboard/src/api')
-rw-r--r--dashboard/src/api/serializers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dashboard/src/api/serializers.py b/dashboard/src/api/serializers.py
index c371a92..794e139 100644
--- a/dashboard/src/api/serializers.py
+++ b/dashboard/src/api/serializers.py
@@ -21,7 +21,7 @@ class BookingSerializer(serializers.ModelSerializer):
class Meta:
model = Booking
- fields = ('id', 'resource_id', 'start', 'end', 'opsys_name', 'installer_name', 'scenario_name', 'purpose')
+ fields = ('id', 'changeid', 'reset', 'resource_id', 'opsys_name', 'start', 'end', 'installer_name', 'scenario_name', 'purpose')
class ServerSerializer(serializers.ModelSerializer):