git://git.onelab.eu
/
myslice.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
IMPORTANT: myslice/manifold folder REMOVED due to conflicts with Manifold Server...
[myslice.git]
/
rest
/
__init__.py
diff --git
a/rest/__init__.py
b/rest/__init__.py
index
892e4ca
..
71fe44d
100644
(file)
--- a/
rest/__init__.py
+++ b/
rest/__init__.py
@@
-6,7
+6,7
@@
from unfold.loginrequired import LoginRequiredView
from django.http import HttpResponse
from manifold.core.query import Query, AnalyzedQuery
from django.http import HttpResponse
from manifold.core.query import Query, AnalyzedQuery
-from manifold
.manifoldapi
import execute_query
+from manifold
api.manifoldapi
import execute_query
from string import join
import json
from string import join
import json
@@
-107,4
+107,4
@@
def post(request, object_type, object_name):
pass
def error():
pass
def error():
- return HttpResponse(json.dumps({'error' : 'error message'}), content_type="application/json")
\ No newline at end of file
+ return HttpResponse(json.dumps({'error' : 'error message'}), content_type="application/json")