--
Ticket URL: <https://code.djangoproject.com/ticket/23286>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Comment:
Hi,
In the link you provided, the example code has these two lines at the
bottom:
{{{#!python
# Always return the full collection of cleaned data.
return cleaned_data
}}}
Is that not sufficient?
Note that if you're reading the documentation for 1.7 [1], these lines are
gone because it's not necessary to return `cleaned_data` from
`Form.clean()` anymore.
Was that the source of the confusion?
[1] https://docs.djangoproject.com/en/1.7/ref/forms/validation/#cleaning-
and-validating-fields-that-depend-on-each-other
--
Ticket URL: <https://code.djangoproject.com/ticket/23286#comment:1>
* status: new => closed
* resolution: => worksforme
--
Ticket URL: <https://code.djangoproject.com/ticket/23286#comment:2>