We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfb2d5c commit bc27494Copy full SHA for bc27494
courses/api.py
@@ -437,10 +437,6 @@ def defer_enrollment( # noqa: C901
437
f"Cannot defer to a course run of a different course ('{from_enrollment.run.course.title}' -> '{to_run.course.title}'). " # noqa: EM102
438
"Set force=True to defer anyway."
439
)
440
- if to_run.upgrade_deadline and to_run.upgrade_deadline < now_in_utc():
441
- raise ValidationError(
442
- f"Cannot defer to a course run whose upgrade deadline has passed (run: {to_run.courseware_id})." # noqa: EM102
443
- )
444
445
if already_deferred_from:
446
# check if user was already enrolled in verified track
0 commit comments