From 6ed7eb5a06d16a3a761f4c6c99b9fc78ed4027d5 Mon Sep 17 00:00:00 2001 From: prathamesh Date: Fri, 6 Jun 2014 12:21:31 +0530 Subject: README file added to the authentication app. --- testapp/myauthentication/README | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 testapp/myauthentication/README (limited to 'testapp/myauthentication/README') diff --git a/testapp/myauthentication/README b/testapp/myauthentication/README new file mode 100644 index 0000000..8ef6ab7 --- /dev/null +++ b/testapp/myauthentication/README @@ -0,0 +1,11 @@ +To use authentication from external source, follow the instructions given below: + +1. In settings.py uncomment, + AUTHENTICATION_BACKENDS = ('myauthentication.backend.MyBackend',) and + AUTHENTICATION_BACKENDS = ('myauthentication.backend.MyBackend',) + +2. From login.html template comment 'New User? Sign-Up' link. + This is to be done so that user will register only from external + application and their details will be stored in the external database. + +3. In urls.py comment 'register' url pattern. -- cgit From f831a81ab2fb4d664bdb7932e9869b8e7ddcdb72 Mon Sep 17 00:00:00 2001 From: prathamesh Date: Fri, 6 Jun 2014 12:30:32 +0530 Subject: README updated. --- testapp/myauthentication/README | 1 + 1 file changed, 1 insertion(+) (limited to 'testapp/myauthentication/README') diff --git a/testapp/myauthentication/README b/testapp/myauthentication/README index 8ef6ab7..f7e6900 100644 --- a/testapp/myauthentication/README +++ b/testapp/myauthentication/README @@ -3,6 +3,7 @@ To use authentication from external source, follow the instructions given below: 1. In settings.py uncomment, AUTHENTICATION_BACKENDS = ('myauthentication.backend.MyBackend',) and AUTHENTICATION_BACKENDS = ('myauthentication.backend.MyBackend',) + Give database name, username and passward for the spoken database. 2. From login.html template comment 'New User? Sign-Up' link. This is to be done so that user will register only from external -- cgit From c4c00dfd3548e2dda9c0fda62cb86fb2237aca10 Mon Sep 17 00:00:00 2001 From: prathamesh Date: Fri, 6 Jun 2014 12:40:15 +0530 Subject: minor changes --- testapp/myauthentication/README | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'testapp/myauthentication/README') diff --git a/testapp/myauthentication/README b/testapp/myauthentication/README index f7e6900..6d1a7b4 100644 --- a/testapp/myauthentication/README +++ b/testapp/myauthentication/README @@ -1,9 +1,9 @@ To use authentication from external source, follow the instructions given below: -1. In settings.py uncomment, - AUTHENTICATION_BACKENDS = ('myauthentication.backend.MyBackend',) and - AUTHENTICATION_BACKENDS = ('myauthentication.backend.MyBackend',) - Give database name, username and passward for the spoken database. +1. In settings.py, + Uncomment AUTHENTICATION_BACKENDS = ('myauthentication.backend.MyBackend',) + Uncomment AUTHENTICATION_BACKENDS = ('myauthentication.backend.MyBackend',) + Enter database name, username and password for the spoken database. 2. From login.html template comment 'New User? Sign-Up' link. This is to be done so that user will register only from external -- cgit