If you came here from Google looking for model to dict, skip my question, and just jump down to the first answer. My question will only confuse you.
Is ther
Or were you trying to do something like:
def someview(req): models = MyModel.objects.all() toTuple = lambda field: (getattr(field, 'someatt'), getattr(field, 'someotheratt')) data = dict(map(toTuple,models)) return render_to_response(template, data)