move to new POST json + form api
This commit is contained in:
parent
233c9a56a5
commit
d5e75fc880
3 changed files with 21 additions and 20 deletions
|
|
@ -62,10 +62,9 @@ def ids(request):
|
|||
json = movie.json(prefix)
|
||||
return render_to_json_response(json)
|
||||
|
||||
def get(request):
|
||||
def get(request, data):
|
||||
prefix = request.build_absolute_uri('/')
|
||||
response = json_response()
|
||||
data = json.loads(request.POST['data'])
|
||||
movie_id = None
|
||||
movieId = None
|
||||
if 'id' in data:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue