-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add engines model #219
Conversation
9657b29
to
7ea5d42
Compare
7ea5d42
to
51bdd2d
Compare
feat: add test utils feat: add tests
51bdd2d
to
4213df7
Compare
eox_nelp/pearson_vue/models.py
Outdated
rti_courses = models.JSONField(default=dict) | ||
ead_courses = models.JSONField(default=dict) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is the difference between ead_course and rti_courses? I know that rti includes a cdd request, but basically a rti request is cdd+ ead
do we need that course information ? why the course is so important ?
eox_nelp/pearson_vue/models.py
Outdated
if action.lower() == 'rti': | ||
return self.rti_courses | ||
|
||
if action.lower() == 'ead': | ||
return self.ead_courses |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm still confused about these courses
@andrey-canon I unify the courses section for RTI and EAD. |
eox_nelp/pearson_vue/utils.py
Outdated
|
||
|
||
def update_user_engines(user, action_type, course_id=None): | ||
"""_summary_ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
summary ?
Description
add engines records model
Testing instructions
migrate
check admin engines
you could the util to modify engines
Additional information
jira story