#6652: Allow 'clean()' to specify the wrong field
----------------------------------------------------------+-----------------
Reporter: Daniele Varrazzo <[EMAIL PROTECTED]> | Owner:
nobody
Status: reopened | Milestone:
post-1.0
Component: Forms | Version: SVN
Resolution: | Keywords:
feature
Stage: Design decision needed | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
----------------------------------------------------------+-----------------
Comment (by rfugger):
I just had to fiddle with Form._errors to solve this problem and I think
being able to direct an error to a specific field using ValidationError is
by far more elegant and useful. Please adopt this solution. Thanks.
--
Ticket URL: <http://code.djangoproject.com/ticket/6652#comment:17>
Django <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
-~----------~----~----~----~------~----~------~--~---