mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2025-08-26 06:09:41 +00:00
list of the task and task table
This commit is contained in:
@ -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'
|
||||
|
@ -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 = {
|
||||
|
Reference in New Issue
Block a user