Commit 0f669e7b by Clinton Blackburn Committed by GitHub

Removed unnecesary field modifier (#244)

ECOM-5097
parent 3282c37d
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('course_metadata', '0015_auto_20160813_2142'),
]
operations = [
migrations.AlterField(
model_name='program',
name='excluded_course_runs',
field=models.ManyToManyField(blank=True, to='course_metadata.CourseRun'),
),
]
......@@ -556,7 +556,7 @@ class Program(TimeStampedModel):
courses = models.ManyToManyField(Course)
# NOTE (CCB): Editors of this field should validate the values to ensure only CourseRuns associated
# with related Courses are stored.
excluded_course_runs = models.ManyToManyField(CourseRun, blank=True, null=True)
excluded_course_runs = models.ManyToManyField(CourseRun, blank=True)
partner = models.ForeignKey(Partner, null=True, blank=False)
overview = models.TextField(null=True, blank=True)
weeks_to_complete = models.PositiveSmallIntegerField(null=True, blank=True)
......
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