financial learning section api

This commit is contained in:
jain
2023-08-09 16:36:33 +05:30
parent 275b09d2ea
commit 69ce6857e8
10 changed files with 211 additions and 13 deletions

View File

@ -76,6 +76,12 @@ GUARDIAN_CODE_STATUS = (
('2', 'exist guardian code'),
('3', 'request for guardian code')
)
# article status
ARTICLE_STATUS = (
('1', 'read'),
('2', 'in_progress'),
('3', 'completed')
)
# relationship
RELATIONSHIP = (
('1', 'parent'),

View File

@ -150,7 +150,13 @@ SUCCESS_CODE = {
"3038": "Status has been changed successfully.",
# notification read
"3039": "Notification read successfully",
"3040": "Start article successfully"
"3040": "Start article successfully",
# complete article
"3041": "Article completed successfully",
# submit assessment successfully
"3042": "Assessment completed successfully",
"3043": "Read article card successfully"
}
"""status code error"""
STATUS_CODE_ERROR = {