commit | 959e7063a64963e8ef0943b9da55ac4d052cffea | [log] [tgz] |
---|---|---|
author | Tony Mack <tmack@paris.CS.Princeton.EDU> | Mon Apr 08 20:55:36 2013 -0400 |
committer | Tony Mack <tmack@paris.CS.Princeton.EDU> | Mon Apr 08 20:55:36 2013 -0400 |
tree | f348b1d0973e4987e0b90774559cf5ec3e1aabd0 | |
parent | 48b1e25b9985dc4ca5aa5823cb2de1d0868c71d8 [diff] |
default format to None
diff --git a/plstackapi/planetstack/views/roles.py b/plstackapi/planetstack/views/roles.py index 8a3f00c..c6cecd7 100644 --- a/plstackapi/planetstack/views/roles.py +++ b/plstackapi/planetstack/views/roles.py
@@ -32,7 +32,7 @@ Retrieve, update or delete a role """ - def post(self, request, pk, format): + def post(self, request, pk, format=None): """Retrieve a role""" data = parse_request(request.DATA) if 'auth' not in data: