I am doing a custom manipulator and I must load an object's data and
orgenize it in my manipulator's fields. How do I do that?

In my custom manipulator I placed a load function that sends in my
object's ID. My load function is loading that object, but I don't know
what to set.

For example, something like the following: (Doesn't work by the way)
    def load(self, id):
        p = persons.get_object(pk=id)
        self.fields['first_name'] = p.first_name

Reply via email to