auth.backends.RemoteUserBackend.configure_user()

RemoteUserBackend.configure_user(user)

Configures a newly created user. This method is called immediately after a new user is created, and can be used to perform custom setup actions, such as setting the user’s groups based on attributes in an LDAP directory. Returns the user object.

doc_Django
2016-10-09 18:34:07
Comments
Leave a Comment

Please login to continue.