blob: 4aef3c5ed744edeaf16a3d5465c4b1fb589e343d (
plain)
1
2
3
4
5
6
7
8
9
10
11
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.
|