Settings¶
Default: FalseWhether your callback URLs are served via SSL.
Default: 'socialreg:'The session key prefix to store temporary user information with while the user is setting up an account.
Default: FalseIf set to
Truethe username will be generated automatically
Default: 'socialregistration.utils.generate_username'If
SOCIALREGISTRATION_GENERATE_USERNAMEisTrue, this function will be called and should return a username. The function will receive three arguments:- A user model
- A profile model
- An API client
Default: 'socialregistration.forms.UserForm'IF
SOCIALREGISTRATION_GENERATE_USERNAMEisFalse, this form will be used to capture data from the user, such as username and email address.
Default: NoneA function that should return some initial data for the
SOCIALREGISTRATION_SETUP_FORM. The function takes four parameters:- The request object
- A user model
- A profile model
- An API client