> I think I figured it out, you're supposed to call the manipulator's
> prepare() method explicitly which in turn calls the fields' prepare
> methods.
This works great, just add a manipulator.prepare(new_data) call into
your boilerplate add / change views. However Admin doesn't seem to do
this, a
A,
I think I figured it out, you're supposed to call the manipulator's
prepare() method explicitly which in turn calls the fields' prepare
methods. Will test this as soon as I get home...
foot
foot wrote:
> > django.core.formfields.FormField has a method 'prepare' which is
> > described as
> django.core.formfields.FormField has a method 'prepare' which is
> described as a "Hook for doing something to new_data (in place) before
> validation." which sounds very useful. But as far as I can tell it
> never gets called. Am I missing something?
>
> Daniel
I too have run into this one, do
Hello,
django.core.formfields.FormField has a method 'prepare' which is
described as a "Hook for doing something to new_data (in place) before
validation." which sounds very useful. But as far as I can tell it
never gets called. Am I missing something?
Daniel
4 matches
Mail list logo