feat: New codemods on OpenedX 2 (#28777)

This commit is contained in:
M. Zulqarnain
2021-10-28 16:45:53 +05:00
committed by GitHub
parent 2aa220094c
commit 834dabb399
30 changed files with 94 additions and 91 deletions

View File

@@ -19,7 +19,7 @@ class Migration(migrations.Migration):
('internal_service_url', models.URLField(verbose_name='Internal Service URL')),
('public_service_url', models.URLField(verbose_name='Public Service URL')),
('api_version_number', models.IntegerField(verbose_name='API Version')),
('enable_student_dashboard', models.NullBooleanField(verbose_name='Enable Student Dashboard Displays')),
('enable_student_dashboard', models.BooleanField(verbose_name='Enable Student Dashboard Displays', null=True)),
('changed_by', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, editable=False, to=settings.AUTH_USER_MODEL, null=True, verbose_name='Changed by')),
],
options={

View File

@@ -1,7 +1,7 @@
"""Models providing Programs support for the LMS and Studio."""
from config_models.models import ConfigurationModel
from django.db import models
from django.utils.translation import ugettext_lazy as _
from django.utils.translation import gettext_lazy as _
class ProgramsApiConfig(ConfigurationModel):