summaryrefslogtreecommitdiff
path: root/testapp/myauthentication/README
diff options
context:
space:
mode:
Diffstat (limited to 'testapp/myauthentication/README')
-rw-r--r--testapp/myauthentication/README12
1 files changed, 12 insertions, 0 deletions
diff --git a/testapp/myauthentication/README b/testapp/myauthentication/README
new file mode 100644
index 0000000..4aef3c5
--- /dev/null
+++ b/testapp/myauthentication/README
@@ -0,0 +1,12 @@
+To use authentication from external source, follow the instructions given below:
+
+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 tutorial 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
+ application and their details will be stored in the external database.
+
+3. In urls.py comment 'register' url pattern.