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_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.