Django convert queryset to json. the is_valid() method only is applicable only if you pass a dictionary to the data argument,...