** Here is the general question **
How can I use a ChangeManipulator to validate a subset of a model's fields.

** Here is the specific situation **
I am using django.contrib.auth.models.User for my user accounts. I
would like to create a change/edit form that lets the user change just
their email address, and perhaps other fields.

Using User.ChangeManipulator, I would like to validate only the subset
of fields being changed (basically just the email address).
Unfortunately manipulator.get_validation_errors(new_data) expects all
fields to be in new_data (including things like date_join_time, etc).

How can I validate only the relevant/changed fields? I could put all
of the other fields into the form as hidden inputs, but there must be
a better way :)

Thanks!
Steve

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

Reply via email to