summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRamiro Morales <cramm0@gmail.com>2013-06-28 13:13:31 -0300
committerRamiro Morales <cramm0@gmail.com>2013-06-28 21:48:15 -0300
commitf02a703ca6867806fbef71dd8d64d9a19975fe6c (patch)
tree716356e0cea0c9534c920a6e38caba5a7264098e
parent4f6be9a0c43050500af598527e1453d27c5c5b85 (diff)
Removed AuthenticationForm.check_for_test_cookie() as per deprecation TL.
-rw-r--r--django/contrib/auth/forms.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/django/contrib/auth/forms.py b/django/contrib/auth/forms.py
index 43f5303b63..beff18c0f2 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