git://git.onelab.eu
/
unfold.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
selection of resources (pending), localstorage js enabled class
[unfold.git]
/
rest
/
__init__.py
diff --git
a/rest/__init__.py
b/rest/__init__.py
index
39235b0
..
80438a2
100644
(file)
--- a/
rest/__init__.py
+++ b/
rest/__init__.py
@@
-134,7
+134,7
@@
class ObjectRequest(object):
for p in self.fields :
d.append(r[p])
response_data['data'].append(d)
-
+
return HttpResponse(json.dumps(response_data, cls=DecimalEncoder, default=DateEncoder), content_type="application/json")
def error(msg):