Merge pull request #24237 from regisb/regisb/fix-no-csmh

Fix problem viewing when CSMH is disabled
This commit is contained in:
Felipe Montoya
2020-09-04 12:37:34 -05:00
committed by GitHub

View File

@@ -33,8 +33,9 @@ class Migration(migrations.Migration):
dependencies = [
('courseware', '0010_auto_20190709_1559'),
('coursewarehistoryextended', '0002_force_studentmodule_index'),
]
if settings.FEATURES["ENABLE_CSMH_EXTENDED"]:
dependencies.append(('coursewarehistoryextended', '0002_force_studentmodule_index'))
operations = [
CsmBigInt(