On 11/30/05, bsoltani <[EMAIL PROTECTED]> wrote: > I'm trying to validate a file upload field to make sure that the users > uploaded file is of a specific type. I know this can be done with a > custom manipulator (and in turn a custom validator). However, I still > want to be able to use the default manipulator for my object for the > rest of the parts of the form. > > Is this a case of me trying to have my cake and eat it too?
If you add a "validator_list" parameter to the appropriate field in your model, the automatic manipulator will take care of that validation for you. Would this solve your problem? Adrian -- Adrian Holovaty holovaty.com | djangoproject.com | chicagocrime.org