summaryrefslogtreecommitdiff
path: root/testapp/myauthentication/README
diff options
context:
space:
mode:
Diffstat (limited to 'testapp/myauthentication/README')
-rw-r--r--testapp/myauthentication/README11
1 files changed, 11 insertions, 0 deletions
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.