Configurations¶
Settings for rest_auth.
Settings used by rest_auth can be overriden from your settings.py file.
-
rest_auth.default_settings.REST_AUTH_EMAIL_OPTIONS= {}¶ Default:
{}Options for email, which is sent to reset password. Detail options guide here.
-
rest_auth.default_settings.REST_AUTH_LOGIN_EMPTY_RESPONSE= True¶ Default:
TrueSet this to
Falseif your LoginView should return non-empty response.
-
rest_auth.default_settings.REST_AUTH_LOGIN_SERIALIZER_CLASS= 'rest_auth.serializers.LoginSerializer'¶ Default:
"rest_auth.serializers.LoginSerializer"Serializer to log in. Update this if you use customized auth backend.
-
rest_auth.default_settings.REST_AUTH_SIGNUP_REQUIRE_EMAIL_CONFIRMATION= False¶ Default:
FalseIf your sign-up process has verification-via-email, set this flag to
Trueto send email.Warning
This functionality is not implemented yet.
-
rest_auth.default_settings.REST_AUTH_API_ROOT_VIEW= True¶ Default: True
Set this to
Falseif you don’t need to use rest_framwork’s api documentation view. (like production environment)