Change docstring at custom restfw auth backend.

remotes/origin/enhancement/email-actions
Andrey Antukh 2013-10-03 12:16:58 +02:00
parent 31ac66b634
commit bd77a001de
1 changed files with 2 additions and 4 deletions

View File

@ -5,7 +5,8 @@ from rest_framework.authentication import BaseAuthentication
class SessionAuthentication(BaseAuthentication):
"""
Use Django's session framework for authentication without csrf.
Same as rest_framework.authentication.SessionAuthentication
but without csrf.
"""
def authenticate(self, request):
@ -21,6 +22,3 @@ class SessionAuthentication(BaseAuthentication):
return None
return (user, None)