From f02a703ca6867806fbef71dd8d64d9a19975fe6c Mon Sep 17 00:00:00 2001 From: Ramiro Morales Date: Fri, 28 Jun 2013 13:13:31 -0300 Subject: [PATCH] Removed AuthenticationForm.check_for_test_cookie() as per deprecation TL. --- django/contrib/auth/forms.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/django/contrib/auth/forms.py b/django/contrib/auth/forms.py index 43f5303b63c..beff18c0f24 100644 --- a/django/contrib/auth/forms.py +++ b/django/contrib/auth/forms.py @@ -200,10 +200,6 @@ class AuthenticationForm(forms.Form): ) return self.cleaned_data - def check_for_test_cookie(self): - warnings.warn("check_for_test_cookie is deprecated; ensure your login " - "view is CSRF-protected.", DeprecationWarning) - def get_user_id(self): if self.user_cache: return self.user_cache.id