#21009: Misleading examples of form clean method
-------------------------------+--------------------
     Reporter:  anonymous      |      Owner:  nobody
         Type:  Uncategorized  |     Status:  new
    Component:  Documentation  |    Version:  1.5
     Severity:  Normal         |   Keywords:
 Triage Stage:  Unreviewed     |  Has patch:  0
Easy pickings:  0              |      UI/UX:  0
-------------------------------+--------------------
 The two examples of a form clean method at the very bottom of
 https://docs.djangoproject.com/en/dev/ref/forms/validation/ should make it
 clear that the cleaned_data dict needs to be returned at the end of the
 method. This can be fixed by simply adding the line "return cleaned_data"
 at the end of each function.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/21009>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/052.0d7a419e9b754bdce02d455c524c7c66%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to