Dec 18, 2011

Django model to dict

from django.forms.models import model_to_dict
model_to_dict(intance, fields=[], exclude=[])

No comments: