Skip to content
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
from django.db import migrations, models
class Migration(migrations.Migration):
......
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
from django.db import migrations, models
class Migration(migrations.Migration):
......
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
from django.db import migrations, models
class Migration(migrations.Migration):
......
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
from django.db import migrations, models
class Migration(migrations.Migration):
......
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
from django.db import migrations, models
class Migration(migrations.Migration):
......@@ -14,7 +11,7 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='course',
name='events_file',
field=models.CharField(default=b'events.yml', help_text=b'Name of a YAML file in the git repository that contains calendar information.', max_length=200),
field=models.CharField(default='events.yml', help_text='Name of a YAML file in the git repository that contains calendar information.', max_length=200),
preserve_default=True,
),
]
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
from django.db import migrations, models
class Migration(migrations.Migration):
......
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
from django.db import migrations, models
class Migration(migrations.Migration):
......
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
from django.db import migrations, models
class Migration(migrations.Migration):
......@@ -14,7 +11,7 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='event',
name='all_day',
field=models.BooleanField(default=False, help_text=b'Only affects the rendering in the class calendar, in that a start time is not shown'),
field=models.BooleanField(default=False, help_text='Only affects the rendering in the class calendar, in that a start time is not shown'),
preserve_default=True,
),
]
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
import jsonfield.fields
from django.db import migrations, models
import course.models
......@@ -16,6 +14,6 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name='flowaccessexception',
name='stipulations',
field=jsonfield.fields.JSONField(blank=True, help_text=b'A dictionary of the same things that can be added to a flow access rule, such as allowed_session_count or credit_percent. If not specified here, values will default to the stipulations in the course content.', null=True, validators=[course.models.validate_stipulations]),
field=jsonfield.fields.JSONField(blank=True, help_text='A dictionary of the same things that can be added to a flow access rule, such as allowed_session_count or credit_percent. If not specified here, values will default to the stipulations in the course content.', null=True, validators=[course.models.validate_stipulations]),
),
]
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
import django.utils.timezone
from django.db import migrations, models
class Migration(migrations.Migration):
......
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
from django.db import migrations, models
class Migration(migrations.Migration):
......@@ -14,6 +11,6 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name='flowaccessexceptionentry',
name='permission',
field=models.CharField(max_length=50, choices=[(b'view', b'View the flow'), (b'view_past', b'Review past attempts'), (b'start_credit', b'Start a for-credit session'), (b'start_no_credit', b'Start a not-for-credit session'), (b'change_answer', b'Change already-graded answer'), (b'see_correctness', b'See whether an answer is correct'), (b'see_answer', b'See the correct answer')]),
field=models.CharField(max_length=50, choices=[('view', 'View the flow'), ('view_past', 'Review past attempts'), ('start_credit', 'Start a for-credit session'), ('start_no_credit', 'Start a not-for-credit session'), ('change_answer', 'Change already-graded answer'), ('see_correctness', 'See whether an answer is correct'), ('see_answer', 'See the correct answer')]),
),
]
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
from django.db import migrations, models
def add_attempt_id_to_grade_change_from_flow_session(apps, schema_editor):
......
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
from django.db import migrations, models
class Migration(migrations.Migration):
......
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
from django.db import migrations, models
class Migration(migrations.Migration):
......@@ -18,6 +15,6 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name='flowaccessexceptionentry',
name='permission',
field=models.CharField(max_length=50, choices=[(b'view', b'View the flow'), (b'view_past', b'Review past attempts'), (b'start_credit', b'Start a for-credit session'), (b'start_no_credit', b'Start a not-for-credit session'), (b'change_answer', b'Change already-graded answer'), (b'see_correctness', b'See whether an answer is correct'), (b'see_correctness_after_completion', b'See whether an answer is correct after completing the flow'), (b'see_answer', b'See the correct answer')]),
field=models.CharField(max_length=50, choices=[('view', 'View the flow'), ('view_past', 'Review past attempts'), ('start_credit', 'Start a for-credit session'), ('start_no_credit', 'Start a not-for-credit session'), ('change_answer', 'Change already-graded answer'), ('see_correctness', 'See whether an answer is correct'), ('see_correctness_after_completion', 'See whether an answer is correct after completing the flow'), ('see_answer', 'See the correct answer')]),
),
]
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
from django.db import migrations, models
class Migration(migrations.Migration):
......
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
from django.db import migrations, models
class Migration(migrations.Migration):
......@@ -14,7 +11,7 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name='flowaccessexceptionentry',
name='permission',
field=models.CharField(max_length=50, choices=[(b'view', b'View the flow'), (b'view_past', b'Review past attempts'), (b'start_credit', b'Start a for-credit session'), (b'start_no_credit', b'Start a not-for-credit session'), (b'change_answer', b'Change already-graded answer'), (b'see_correctness', b'See whether an answer is correct'), (b'see_correctness_after_completion', b'See whether an answer is correct after completing the flow'), (b'see_answer', b'See the correct answer'), (b'see_answer_after_completion', b'See the correct answer after completing the flow')]),
field=models.CharField(max_length=50, choices=[('view', 'View the flow'), ('view_past', b'Review past attempts'), (b'start_credit', b'Start a for-credit session'), (b'start_no_credit', b'Start a not-for-credit session'), (b'change_answer', b'Change already-graded answer'), (b'see_correctness', b'See whether an answer is correct'), (b'see_correctness_after_completion', b'See whether an answer is correct after completing the flow'), (b'see_answer', b'See the correct answer'), (b'see_answer_after_completion', b'See the correct answer after completing the flow')]),
),
migrations.AlterField(
model_name='participation',
......
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
from django.db import migrations, models
class Migration(migrations.Migration):
......
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
from django.db import migrations, models
class Migration(migrations.Migration):
......@@ -14,7 +11,7 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='flowsession',
name='expiration_mode',
field=models.CharField(default=b'end', max_length=20, null=True, choices=[(b'end', b'End session'), (b'roll_over', b'Roll over to new rules')]),
field=models.CharField(default='end', max_length=20, null=True, choices=[(b'end', b'End session'), (b'roll_over', b'Roll over to new rules')]),
preserve_default=True,
),
]
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
from django.db import migrations, models
class Migration(migrations.Migration):
......@@ -19,6 +16,6 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name='flowsession',
name='expiration_mode',
field=models.CharField(default=b'end', max_length=20, null=True, choices=[(b'end', b'End session and grade'), (b'roll_over', b'Roll over to new rules')]),
field=models.CharField(default='end', max_length=20, null=True, choices=[(b'end', b'End session and grade'), (b'roll_over', b'Roll over to new rules')]),
),
]
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
from django.db import migrations, models
class Migration(migrations.Migration):
......@@ -14,7 +11,7 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='flowaccessexception',
name='is_sticky',
field=models.BooleanField(default=False, help_text=b'Check if a flow started under this exception rule set should stay under this rule set until it is expired.'),
field=models.BooleanField(default=False, help_text='Check if a flow started under this exception rule set should stay under this rule set until it is expired.'),
preserve_default=True,
),
]