#15198: AuthenticationForm.clean call does not have request set --------------------------------------+------------------------------------ Reporter: Ciantic | Owner: nobody Type: Cleanup/optimization | Status: new Component: contrib.auth | Version: master Severity: Normal | Resolution: Keywords: | Triage Stage: Accepted Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 1 Easy pickings: 1 | UI/UX: 0 --------------------------------------+------------------------------------
Comment (by sven.assmann@…): Replying to [comment:2 russellm]: > Seems like a reasonable suggestion -- although the issue with the cookie check obviously still needs to be resolved. the cookie issue can also easy be patched so that it behave the same as it was before {{{ def check_for_test_cookie(self): if self.request and self.request.method != "POST" and not self.request.session.test_cookie_worked(): raise forms.ValidationError(self.error_messages['no_cookies']) }}} -- Ticket URL: <https://code.djangoproject.com/ticket/15198#comment:6> 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 post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.