From bd77a001de1aff757a2c7ce64e8da5b67e82dc0f Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 3 Oct 2013 12:16:58 +0200 Subject: [PATCH] Change docstring at custom restfw auth backend. --- greenmine/base/users/auth.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/greenmine/base/users/auth.py b/greenmine/base/users/auth.py index 532934bc..cd252ab5 100644 --- a/greenmine/base/users/auth.py +++ b/greenmine/base/users/auth.py @@ -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) - - -