#17182: Best Practice for forms.Form.clean -------------------------------------+------------------------------------- Reporter: DrMeers | Owner: DrMeers Type: | Status: new Cleanup/optimization | Version: 1.3 Component: Documentation | Resolution: Severity: Normal | Triage Stage: Accepted Keywords: form clean super | Needs documentation: 0 inheritance | Patch needs improvement: 1 Has patch: 1 | UI/UX: 0 Needs tests: 0 | Easy pickings: 0 | -------------------------------------+------------------------------------- Changes (by ptone):
* needs_better_patch: 0 => 1 Comment: I would add a very short note about why the call to super - "to maintain validation logic in the parent classes, use super to call the parent's clean method" -- Ticket URL: <https://code.djangoproject.com/ticket/17182#comment:4> Django <https://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 django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.