-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: exam attempt should be resumable if it has been marked as ready …
…to resume MST-1124. If an exam attempt has been previously marked as ready to resume, it should remain resumable by a learner regardless of whether or not they receive a review. In order to do this, resume states should no longer be represented as statuses, but instead boolean fields on the attempt model.
- Loading branch information
Showing
11 changed files
with
327 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
edx_proctoring/migrations/0022_proctoredexamstudentattempt_add_readytoresume_resumed.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Generated by Django 3.2.7 on 2021-10-26 18:44 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('edx_proctoring', '0021_auto_20211029_1353'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='historicalproctoredexamstudentattempt', | ||
name='ready_to_resume', | ||
field=models.BooleanField(default=False, verbose_name='Ready to Resume'), | ||
), | ||
migrations.AddField( | ||
model_name='historicalproctoredexamstudentattempt', | ||
name='resumed', | ||
field=models.BooleanField(default=False, verbose_name='Resumed'), | ||
), | ||
migrations.AddField( | ||
model_name='proctoredexamstudentattempt', | ||
name='ready_to_resume', | ||
field=models.BooleanField(default=False, verbose_name='Ready to Resume'), | ||
), | ||
migrations.AddField( | ||
model_name='proctoredexamstudentattempt', | ||
name='resumed', | ||
field=models.BooleanField(default=False, verbose_name='Resumed'), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.