sonar issues

This commit is contained in:
jain
2023-07-25 17:15:16 +05:30
parent a8558b5e6e
commit 8a454c3f97
3 changed files with 7 additions and 7 deletions

View File

@ -22,7 +22,7 @@ from junior.models import Junior
from guardian.models import Guardian
from account.models import UserDelete
from base.messages import ERROR_CODE
from django.utils import timezone
# Define delete
# user account condition,
@ -228,3 +228,4 @@ def generate_code(value, user_id):
return code
OTP_EXPIRY = timezone.now() + timezone.timedelta(days=1)