Register¶
You can check the User for the Register flow configurations.
-
REGISTER_SERIALIZER
¶ Register serializer dotted path
Default:
'drf_registration.api.register.RegisterSerializer'
-
REGISTER_PERMISSION_CLASSES
¶ Register permission classes dotted paths
Default:
[ 'rest_framework.permissions.AllowAny', ]
-
REGISTER_SEND_WELCOME_EMAIL_ENABLED
¶ Send welcome email after register successfully
Default:
False
-
REGISTER_SEND_WELCOME_EMAIL_SUBJECT
¶ The welcome email subject
Default:
'Welcome to the system'
Note
It only works with
REGISTER_SEND_WELCOME_EMAIL_ENABLED
isTrue
-
REGISTER_SEND_WELCOME_EMAIL_TEMPLATE
¶ The welcome email template path
Default:
None
If not set, the default message is
<p>Hi,</p> <p>Welcome to the system!</p>
Note
It only works with
REGISTER_SEND_WELCOME_EMAIL_ENABLED
isTrue