Skip to content
0002_allow_graded_answer_resubmission.py 829 B
Newer Older
Andreas Klöckner's avatar
Andreas Klöckner committed
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('course', '0001_initial'),
    ]

    operations = [
        migrations.RenameField(
            model_name='flowpagevisit',
            old_name='answer_is_final',
            new_name='is_graded_answer',
        ),
        migrations.AlterField(
            model_name='flowaccessexceptionentry',
            name='permission',
Dong Zhuang's avatar
Dong Zhuang committed
            field=models.CharField(max_length=50, choices=[('view', 'View flow'), ('view_past', 'Review past attempts'), ('start_credit', 'Start for-credit session'), ('start_no_credit', 'Start not-for-credit session'), ('change_answer', 'Change already-graded answer'), ('see_correctness', 'See whether answer is correct'), ('see_answer', 'See the correct answer')]),