#5843: Newforms > Provide example of how to do Form.clean_fieldname() and Form.clean() -----------------------+---------------------------------------------------- Reporter: anonymous | Owner: nobody Status: new | Component: Documentation Version: SVN | Keywords: newforms Stage: Unreviewed | Has_patch: 0 -----------------------+---------------------------------------------------- It would be helpful to show an example of how to implement your own clean_fieldname() and clean() methods for subclassed forms. (N.B. An example of how to clean a subclassed field IS shown - ie field.clean(self, value))
Presumably cleaning should be done by using the .data attribute of forms, although .data doesn't appear to be documented. -- Ticket URL: <http://code.djangoproject.com/ticket/5843> Django Code <http://code.djangoproject.com/> The web framework for perfectionists with deadlines --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" 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-updates?hl=en -~----------~----~----~----~------~----~------~--~---
