summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorParker Berberian <pberberian@iol.unh.edu>2018-01-31 17:33:27 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-01-31 17:33:27 +0000
commit1fd014d20886727b3c8eb1861afb58b91c2dfa74 (patch)
tree1e44f6ac9612fadd9ec4fe1e53f7655f839fc0f8
parent654ed9bbfe48ecdf9b8237c73bd811374b1b350b (diff)
parenta4ab1e7f6d5ebb0cc745f7183b79786ad6daa4d4 (diff)
Merge "Add User-ID Field in Booking API Serializer"
-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 ad9b800..1cc621a 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', 'changeid', 'reset', 'resource_id', 'opsys_name', 'start', 'end', 'installer_name', 'scenario_name', 'purpose')
+ fields = ('id', 'changeid', 'reset', 'user', 'resource_id', 'opsys_name', 'start', 'end', 'installer_name', 'scenario_name', 'purpose')
class ServerSerializer(serializers.ModelSerializer):