Re: FormField.prepare

2006-01-23 Thread foot
> 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

Re: FormField.prepare

2006-01-23 Thread foot
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

FormField.prepare

2006-01-22 Thread foot
> 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

FormField.prepare

2005-11-29 Thread Daniel James
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