On Sat, Aug 23, 2008 at 9:19 PM, Paddy Joy <[EMAIL PROTECTED]> wrote:

>
> What is the best way to modify form data before it is saved to the
> database?
>

Generally this is done during cleaning/validation.


> I have tried the following but can't seem to get it to work, can
> anyone help?
>

More specifics on what, exactly, is not working would help people help you.
>From a brief look I think you need to be referencing self.cleaned_data, not
self.data, in your form's clean_Password method.

Karen

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to