Merge pull request #171 from KiwiTechLLC/sprint4

financial learning section api
This commit is contained in:
dilipshrivastwa-kiwi
2023-08-09 16:44:27 +05:30
committed by GitHub
10 changed files with 211 additions and 13 deletions
+6
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'),
+7 -1
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 = {