chintamanil/movie_mapper — pull request #7 by chintamanil (2014-10-20 02:01:44+00:00)
Title: work in progress backup

This a work in progress update.
Josh ..
def movie_in_theater(request, imdb_id): is taknig input correctly but response is not correct. Its a querryset issue.
I have
data = {
"imdb": imdb_id,
"screens_in_theater" : screens_in_theater,
# "screen_time" : screen_time
}
print data
response = serializers.serialize('json', data)
return HttpResponse(response, content_type='application/json')

data is printing But screens_in_theater is queryset tht i did convert to array using
def values_query_set_to_dict(vqs):
return [item for item in vqs]

Still isnt working.
tried json dumps.

Stuck here..
Any ideas ...

Mani !