#12513: UnresolvableValidationError far too greedy line ~
---------------------------------------------+------------------------------
Reporter: skyl | Owner: nobody
Status: new | Milestone:
Component: Forms | Version: SVN
Resolution: | Keywords:
Stage: Design decision needed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
---------------------------------------------+------------------------------
Changes (by Honza_Kral):
* stage: Accepted => Design decision needed
Comment:
Hi, this form will NEVER validate. If we just raised ValidationError
(resulting in {{{is_valid() == False}}}) we would confuse both the
programmer and the user.
The programmer will be confused because they would think it's the user's
error and the user will get a validation error that wouldn't appear
anywhere or, if we make it appear somewhere, will appear with no
association to it's field (of whose existence the user doesn't have to be
aware). Also the user has no way of fixing this validation error simply
because this is the programmers fault - they contructed a FailForm and
raising an exception is usually accepted behavior for mistakes in code.
I am changing this to Design decision needed
--
Ticket URL: <http://code.djangoproject.com/ticket/12513#comment:2>
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.