Actually I did it this way because I discovered that the to_python method was not called. Do you Django guys do you know why? Do I need to inherit from a different class or to override some other method?