logout api and sonar

This commit is contained in:
jain
2023-07-11 22:34:59 +05:30
parent 7e7367e3a4
commit 18cb975d94
11 changed files with 51 additions and 16 deletions

View File

@ -26,15 +26,18 @@ sort_dict = {
'1': 'name',
'2': '-name'
}
"""user type"""
USER_TYPE = (
('1', 'junior'),
('2', 'guardian'),
('3', 'superuser')
)
"""gender"""
GENDERS = (
('1', 'Male'),
('2', 'Female')
)
"""Task status"""
TASK_STATUS = (
('1', 'pending'),
('2', 'in-progress'),
@ -42,6 +45,7 @@ TASK_STATUS = (
('4', 'requested'),
('5', 'completed')
)
"""sign up method"""
SIGNUP_METHODS = (
('1', 'manual'),
('2', 'google'),

View File

@ -87,7 +87,8 @@ SUCCESS_CODE = {
"3016": "Send otp on your Email successfully",
"3017": "Profile image update successfully",
"3018": "Task created successfully",
"3019": "Support Email sent successfully"
"3019": "Support Email sent successfully",
"3020": "Logged out successfully."
}
STATUS_CODE_ERROR = {