registration user takes lot of time #786
Unanswered
bhupesh7shakya
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
DJOSER={
# todo:show proper error in login while credential don't match
'LOGIN_FIELD':'email',
'PASSWORD_RESET_CONFIRM_URL': 'password/reset/confirm/{uid}/{token}',
'USERNAME_RESET_CONFIRM_URL': 'username/reset/confirm/{uid}/{token}',
'ACTIVATION_URL': 'activate/{uid}/{token}',
'SEND_ACTIVATION_EMAIL': True,
'SEND_CONFIRMATION_EMAIL':True,
'SET_PASSWORD_RETYPE ':True,
'USER_CREATE_PASSWORD_RETYPE':True,
'LOGOUT_ON_PASSWORD_CHANGE':True,
'PASSWORD_CHANGED_EMAIL_CONFIRMATION':True,
'SERIALIZERS': {
'token_create': 'core.serializers.CustomTokenCreateSerializer',
},
}
this is my setting i know sending email takes lot of time so how can i make it faster like run it in bacground for emails
Beta Was this translation helpful? Give feedback.
All reactions