Settings¶
Default: False
Whether 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: False
If set to
True
the username will be generated automatically
Default: 'socialregistration.utils.generate_username'
If
SOCIALREGISTRATION_GENERATE_USERNAME
isTrue
, 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_USERNAME
isFalse
, this form will be used to capture data from the user, such as username and email address.
Default: None
A 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