Separate verification deadline from upgrade deadline
* Add verification deadline model. * Populate verification deadlines from course modes table. * Update student dashboard to use verification deadlines. * Update pay-and-verify view to use verification deadlines. * Simplify Django admin for course modes and add validation. * Add verification deadline to Django admin for course modes. * Add UI for when the upgrade deadline is missed in the pay-and-verify flow.
Showing
- common/djangoapps/course_modes/admin.py 146 additions, 20 deletionscommon/djangoapps/course_modes/admin.py
- common/djangoapps/course_modes/models.py 36 additions, 13 deletionscommon/djangoapps/course_modes/models.py
- common/djangoapps/course_modes/tests/test_admin.py 220 additions, 0 deletionscommon/djangoapps/course_modes/tests/test_admin.py
- common/djangoapps/course_modes/tests/test_views.py 0 additions, 45 deletionscommon/djangoapps/course_modes/tests/test_views.py
- common/djangoapps/student/helpers.py 13 additions, 18 deletionscommon/djangoapps/student/helpers.py
- common/djangoapps/student/tests/test_verification_status.py 7 additions, 4 deletionscommon/djangoapps/student/tests/test_verification_status.py
- common/djangoapps/student/views.py 2 additions, 6 deletionscommon/djangoapps/student/views.py
- lms/djangoapps/verify_student/migrations/0011_add_verification_deadline.py 155 additions, 0 deletions...rify_student/migrations/0011_add_verification_deadline.py
- lms/djangoapps/verify_student/migrations/0012_populate_verification_deadlines.py 180 additions, 0 deletions...tudent/migrations/0012_populate_verification_deadlines.py
- lms/djangoapps/verify_student/models.py 118 additions, 2 deletionslms/djangoapps/verify_student/models.py
- lms/djangoapps/verify_student/tests/test_models.py 49 additions, 2 deletionslms/djangoapps/verify_student/tests/test_models.py
- lms/djangoapps/verify_student/tests/test_views.py 110 additions, 17 deletionslms/djangoapps/verify_student/tests/test_views.py
- lms/djangoapps/verify_student/views.py 116 additions, 50 deletionslms/djangoapps/verify_student/views.py
- lms/templates/verify_student/missed_deadline.html 29 additions, 0 deletionslms/templates/verify_student/missed_deadline.html
- lms/templates/verify_student/missed_verification_deadline.html 0 additions, 18 deletions...emplates/verify_student/missed_verification_deadline.html
Please register or sign in to comment