model.objects.filter(id=5).values()
However, none of the normal dictionary methods work on it, like say
"keys()."
Basically I'd like to grab an entire object and convert it to a
dictionary so I can work with it, is this possible?
Not quite: it returns something that acts like a list of dictionaries,
since there is no guarantee that your QuerySet will always contain a
single object.
> However, none of the normal dictionary methods work on it, like say
> "keys()."
In light of the above, try model.objects.filter(id=5).values()[0].keys()
Best wishes,
Malcolm