Fix bugs
diff --git a/plstackapi/core/views/deployment_networks.py b/plstackapi/core/views/deployment_networks.py
index d57962a..7f495e6 100644
--- a/plstackapi/core/views/deployment_networks.py
+++ b/plstackapi/core/views/deployment_networks.py
@@ -15,9 +15,12 @@
def post(self, request, format = None):
data = parse_request(request.DATA)
+ print "REQUESTDATA"
+ print data
if 'auth' not in data:
return Response(status=status.HTTP_400_BAD_REQUEST)
elif 'deploymentNetwork' in data:
+
deployment = add_deployment_network(data['auth'], data['deploymentNetwork'].get('name'))
serializer = DeploymentNetworkSerializer(deployment)
return Response(serializer.data, status=status.HTTP_201_CREATED)