Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Removed AuthenticationForm.check_for_test_cookie() as per deprecation…

… TL.
  • Loading branch information...
commit f02a703ca6867806fbef71dd8d64d9a19975fe6c 1 parent 4f6be9a
Ramiro Morales authored June 28, 2013

Showing 1 changed file with 0 additions and 4 deletions. Show diff stats Hide diff stats

  1. 4  django/contrib/auth/forms.py
4  django/contrib/auth/forms.py
@@ -200,10 +200,6 @@ def clean(self):
200 200
                 )
201 201
         return self.cleaned_data
202 202
 
203  
-    def check_for_test_cookie(self):
204  
-        warnings.warn("check_for_test_cookie is deprecated; ensure your login "
205  
-                "view is CSRF-protected.", DeprecationWarning)
206  
-
207 203
     def get_user_id(self):
208 204
         if self.user_cache:
209 205
             return self.user_cache.id

0 notes on commit f02a703

Please sign in to comment.
Something went wrong with that request. Please try again.