summaryrefslogtreecommitdiff
path: root/testapp/myauthentication/README
blob: 8ef6ab744cf2e383b677c6c1220e8245f9aebf09 (plain)
1
2
3
4
5
6
7
8
9
10
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.