commit | 5cc16ba1b18197389da0c68606fe341335551074 | [log] [tgz] |
---|---|---|
author | Tony Mack <tmack@paris.CS.Princeton.EDU> | Tue Apr 09 10:30:45 2013 -0400 |
committer | Tony Mack <tmack@paris.CS.Princeton.EDU> | Tue Apr 09 10:30:45 2013 -0400 |
tree | c0e6d92038035c986dccdded1bd52aa845a03c4f | |
parent | 316210e7dfa47d4a97cbdc80c7b60999822f3694 [diff] [blame] |
enable users
diff --git a/plstackapi/planetstack/views/sites.py b/plstackapi/planetstack/views/sites.py index f40c0fa..8bbd30c 100644 --- a/plstackapi/planetstack/views/sites.py +++ b/plstackapi/planetstack/views/sites.py
@@ -52,7 +52,7 @@ return Response(status=status.HTTP_400_BAD_REQUEST) site = update_site(pk, data['site']) - serializer = SiteSerializer(data=site) + serializer = SiteSerializer(site) return Response(serializer.data) def delete(self, request, pk, format=None):