list of the task and task table

This commit is contained in:
jain
2023-07-04 18:26:00 +05:30
parent 376bb89f20
commit 5e5161a77e
13 changed files with 304 additions and 31 deletions

View File

@ -35,6 +35,16 @@ GENDERS = (
('1', 'Male'),
('2', 'Female')
)
TASK_STATUS = (
('1', 'pending'),
('2', 'in-progress'),
('3', 'rejected'),
('4', 'requested'),
('5', 'completed')
)
PENDING = 'pending'
TASK_POINTS = 5
# duplicate name used defined in constant PROJECT_NAME
PROJECT_NAME = 'Zod Bank'
GUARDIAN = 'guardian'

View File

@ -50,7 +50,8 @@ ERROR_CODE = {
"2024": "Email not verified",
"2025": "Invalid input. Expected a list of strings.",
"2026": "New password should not same as old password",
"2027": "data should contain `identityToken`"
"2027": "data should contain `identityToken`",
"2028": "You are not authorized person to sign up on this platform"
}
SUCCESS_CODE = {
# Success code for password
@ -79,7 +80,8 @@ SUCCESS_CODE = {
"3014": "Password has been updated successfully.",
"3015": "Verification code sent on your email.",
"3016": "Send otp on your Email successfully",
"3017": "Profile image update successfully"
"3017": "Profile image update successfully",
"3018": "Created task successfully"
}
STATUS_CODE_ERROR = {