Commit ea5bf41b by Matthew Piatetsky Committed by GitHub

Merge pull request #392 from edx/ECOM-5946

Small fixes to weeks to complete PR
parents 8f3c748f cab5ff0a
......@@ -466,6 +466,7 @@ class CourseMarketingSiteDataLoader(AbstractMarketingSiteDataLoader):
'start': start,
'pacing_type': self.get_pacing_type(data),
'hidden': self.get_hidden(data),
'weeks_to_complete': None,
}
if weeks_to_complete:
......
......@@ -14,6 +14,11 @@ class Migration(migrations.Migration):
migrations.AddField(
model_name='courserun',
name='weeks_to_complete',
field=models.PositiveSmallIntegerField(null=True, blank=True, help_text='This field is now deprecated (ECOM-6021).Estimated number of weeks needed to complete a course run.'),
field=models.PositiveSmallIntegerField(blank=True, help_text='Estimated number of weeks needed to complete this course run.', null=True),
),
migrations.AlterField(
model_name='program',
name='weeks_to_complete',
field=models.PositiveSmallIntegerField(blank=True, help_text='This field is now deprecated (ECOM-6021).Estimated number of weeks needed to complete a course run belonging to this program.', null=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