diff options
author | Sawyer Bergeron <sbergeron@iol.unh.edu> | 2018-01-05 16:07:13 -0500 |
---|---|---|
committer | Sawyer Bergeron <sbergeron@iol.unh.edu> | 2018-01-09 15:03:34 -0500 |
commit | a1df798486c60c911dfb2e6c2c487f7bcb7f6d01 (patch) | |
tree | 60bec95b5de53c332ab1101240095940e5a4554b /src/api | |
parent | c81da17a046f1ad81f05de8a242b14ec02cf7c9a (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 'src/api')
-rw-r--r-- | src/api/serializers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/serializers.py b/src/api/serializers.py index c371a92..794e139 100644 --- a/src/api/serializers.py +++ b/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): |