Commit 78896c60 by Bill DeRusha

Initial migrations for verified deadlines for self paced

parent a0668568
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('course_modes', '0001_initial'),
]
operations = [
migrations.AddField(
model_name='coursemode',
name='expiration_datetime_is_explicit',
field=models.BooleanField(default=True),
),
]
...@@ -63,6 +63,11 @@ class CourseMode(models.Model): ...@@ -63,6 +63,11 @@ class CourseMode(models.Model):
), ),
) )
# The system prefers to set this automatically based on default settings. But
# if the field is set manually we want a way to indicate that so we don't
# overwrite the manual setting of the field.
expiration_datetime_is_explicit = models.BooleanField(default=True)
# DEPRECATED: the `expiration_date` field has been replaced by `expiration_datetime` # DEPRECATED: the `expiration_date` field has been replaced by `expiration_datetime`
expiration_date = models.DateField(default=None, null=True, blank=True) expiration_date = models.DateField(default=None, null=True, blank=True)
......
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('verify_student', '0001_initial'),
]
operations = [
migrations.AddField(
model_name='historicalverificationdeadline',
name='deadline_is_explicit',
field=models.BooleanField(default=True),
),
migrations.AddField(
model_name='verificationdeadline',
name='deadline_is_explicit',
field=models.BooleanField(default=True),
),
]
...@@ -955,6 +955,11 @@ class VerificationDeadline(TimeStampedModel): ...@@ -955,6 +955,11 @@ class VerificationDeadline(TimeStampedModel):
) )
) )
# The system prefers to set this automatically based on default settings. But
# if the field is set manually we want a way to indicate that so we don't
# overwrite the manual setting of the field.
deadline_is_explicit = models.BooleanField(default=True)
# Maintain a history of changes to deadlines for auditing purposes # Maintain a history of changes to deadlines for auditing purposes
history = HistoricalRecords() history = HistoricalRecords()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment