summaryrefslogtreecommitdiff
path: root/testapp/myauthentication/README
blob: f7e6900e8e28ee7236d6108b8923afa8db699b6d (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',) 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
   application and their details will be stored in the external database.

3. In urls.py comment 'register' url pattern.