diff --git a/openedx/core/djangoapps/content_libraries/migrations/0009_alter_contentlibrary_authorized_lti_configs.py b/openedx/core/djangoapps/content_libraries/migrations/0009_alter_contentlibrary_authorized_lti_configs.py new file mode 100644 index 0000000000..dd4bf12fe9 --- /dev/null +++ b/openedx/core/djangoapps/content_libraries/migrations/0009_alter_contentlibrary_authorized_lti_configs.py @@ -0,0 +1,19 @@ +# Generated by Django 3.2.16 on 2023-02-06 21:39 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('lti1p3_tool_config', '0001_initial'), + ('content_libraries', '0008_auto_20210818_2148'), + ] + + operations = [ + migrations.AlterField( + model_name='contentlibrary', + name='authorized_lti_configs', + field=models.ManyToManyField(blank=True, help_text="List of authorized LTI tool configurations that can access this library's content through LTI launches, if empty no LTI launch is allowed.", related_name='content_libraries', to='lti1p3_tool_config.LtiTool'), + ), + ] diff --git a/openedx/core/djangoapps/content_libraries/models.py b/openedx/core/djangoapps/content_libraries/models.py index 32e2103e0d..7bf8792699 100644 --- a/openedx/core/djangoapps/content_libraries/models.py +++ b/openedx/core/djangoapps/content_libraries/models.py @@ -126,7 +126,8 @@ class ContentLibrary(models.Model): related_name='content_libraries', help_text=("List of authorized LTI tool configurations that can access " "this library's content through LTI launches, if empty no LTI " - "launch is allowed.") + "launch is allowed."), + blank=True, ) class Meta: