Hay, serializers is not returning JSON object
make = Make.objects.filter(slug__exact=make)
models = Model.objects.filter(make=make).values('slug','name')
json_models = serializers.get_serializer("json")()
json_models.serialize(models)
return HttpResponse(json_models.getvalue())
I'm getting an error
'dict' object has no attribute '_meta'
Any ideas?