User configuration

List of settings

These settings can be used to configure how the user model (specified by settings.AUTH_USER_MODEL) should be used. You should add them as keys (with values) to your settings.REST_REGISTRATION dict.

The USER_* fields can be set directly in the user class (specified by settings.AUTH_USER_MODEL) without using the USER_ prefix (EMAIL_FIELD, etc.). These settings will override these provided in settings.REST_REGISTRATION.

‘USER_LOGIN_FIELDS’

Default: None

No description available, please add it here!

‘USER_HIDDEN_FIELDS’

Default:

('last_login',
 'is_active',
 'is_staff',
 'is_superuser',
 'user_permissions',
 'groups',
 'date_joined')

No description available, please add it here!

‘USER_PUBLIC_FIELDS’

Default: None

No description available, please add it here!

‘USER_EDITABLE_FIELDS’

Default: None

No description available, please add it here!

‘USER_EMAIL_FIELD’

Default: 'email'

No description available, please add it here!

‘USER_VERIFICATION_ID_FIELD’

Default: 'pk'

Field used in verification, as part of signed data.

The given field should uniquely identify the user. This means that using any user field which could change over time (email, username) is NOT recommended.

‘USER_VERIFICATION_FLAG_FIELD’

Default: 'is_active'

No description available, please add it here!