Luke Plant wrote:

> However, I had
> problems.  But I've forgotten what they were now

I remembered what my problem was:

Manipulator.get_validation_errors() ignores the 'follow' parameter, so
you get validation errors for fields that aren't included.  Also, it's
not simple to strip them out, since you have things like 'mydate_date'
and 'mydate_time' if you have a DateTimeField called mydate.

Also, 'follow' is sub-optimal -- you have to calculate (either by hand
or automatically) the fields that you want to *exclude*, rather than
pass in simply the ones you want to include.  Maybe some utility
function on AutomaticManipulator might help.

My aim in all of this, is that if I add any type of field to MyModel, I
shouldn't have to alter MyCustomManipulator at all.

Luke


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@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-developers
-~----------~----~----~----~------~----~------~--~---

Reply via email to