A strange error 'Settings' object has no attribute 'PASSWORD_RESET_CONFIRM_URL', although Djoser settings have this field. the error occurs when trying to reset the password for an activated account. In addition, Djoser does not send an e-mail for activation of the account for some reason, but it does not display any errors.
DJOSER = {
'USER_MODEL': 'users.Users',
'LOGIN_FIELD': 'email',
"PASSWORD_RESET_CONFIRM_URL": '{}/password/reset/{uid}/{token}',
'ACTIVATION_URL': '#/activate/{uid}/{token}',
'SEND_ACTIVATION_EMAIL': True,
'SEND_CONFIRM_EMAIL': False,
'USER_AUTHENTICATION_RULES': \['djoser.auth.authentication.UserAuthentication'\],
'SERIALIZERS': {'user_create': 'users.serializers.UserSerializer',}
}```
the error occurs when trying to reset the password for an activated account.
'{}/password/reset/{uid}/{token}',is invalid.Look here / doc
It should look something like below.