#23286: Add the necessary return value for Form#clean (in 1.6) --------------------------------------+-------------------- Reporter: jameydeorio | Owner: nobody Type: Cleanup/optimization | Status: new Component: Documentation | Version: 1.6 Severity: Normal | Keywords: Triage Stage: Unreviewed | Has patch: 0 Easy pickings: 1 | UI/UX: 0 --------------------------------------+-------------------- The documentation for Form and field validation (https://docs.djangoproject.com/en/1.6/ref/forms/validation/#cleaning-and- validating-fields-that-depend-on-each-other) says nothing about returning self.cleaned_data, without which you receive the obtuse "argument of type 'NoneType' is not iterable" along with an unhelpful stack trace, and you wind up on StackOverflow instead of the docs to solve the issue.
-- Ticket URL: <https://code.djangoproject.com/ticket/23286> 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/054.ec4da23800cdfb7fd75dde82d70e3fc4%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.