#21894: Error in example code in django.forms.Form.clean()¶
-----------------------------------+--------------------------------------
Reporter: richard.kellner@… | Owner: nobody
Type: Bug | Status: closed
Component: Documentation | Version: master
Severity: Normal | Resolution: worksforme
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------------+--------------------------------------
Changes (by bmispelon):
* status: new => closed
* needs_better_patch: => 0
* resolution: => worksforme
* needs_tests: => 0
* needs_docs: => 0
Comment:
Hi,
The documentation is correct: this is a new feature in the development
version of Django (soon-to-be 1.7), as described by the note under the
example:
> In previous versions of Django, form.clean() was required to return a
dictionary of cleaned_data. This method may still return a dictionary of
data to be used, but it’s no longer required.
--
Ticket URL: <https://code.djangoproject.com/ticket/21894#comment:1>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/086.b6c23401e1d3cfa144951816db3aabc9%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.