summaryrefslogtreecommitdiff
path: root/testapp/myauthentication/backend.py
diff options
context:
space:
mode:
authorprathamesh2014-06-06 12:40:15 +0530
committerprathamesh2014-06-06 12:40:15 +0530
commitc4c00dfd3548e2dda9c0fda62cb86fb2237aca10 (patch)
tree6ba6ebde982faa2a431c549a7e1ebe340f22e28a /testapp/myauthentication/backend.py
parentf831a81ab2fb4d664bdb7932e9869b8e7ddcdb72 (diff)
downloadonline_test-c4c00dfd3548e2dda9c0fda62cb86fb2237aca10.tar.gz
online_test-c4c00dfd3548e2dda9c0fda62cb86fb2237aca10.tar.bz2
online_test-c4c00dfd3548e2dda9c0fda62cb86fb2237aca10.zip
minor changes
Diffstat (limited to 'testapp/myauthentication/backend.py')
-rw-r--r--testapp/myauthentication/backend.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/testapp/myauthentication/backend.py b/testapp/myauthentication/backend.py
index 698ec54..d82f11a 100644
--- a/testapp/myauthentication/backend.py
+++ b/testapp/myauthentication/backend.py
@@ -10,8 +10,8 @@ class MyBackend:
def authenticate(self, username=None, password=None):
'''
Checks username and password with external User table.
- If valid then adds the user detail in django User table
- and authenticates user.
+ If valid then adds the user details in django User table
+ and authenticates the user.
'''
try:
user = MdlUser.objects.get(username=username)