From 63dd3b5e48f38f5eea456ccecf05e56f33264307 Mon Sep 17 00:00:00 2001 From: Fabian Braun Date: Tue, 24 Dec 2024 12:18:00 +0100 Subject: [PATCH] Fix migration, remove unneeded mptt from `INSTALLED_APPS` in tests, fix video player template --- djangocms_video/migrations/0012_hlsstreamsource.py | 2 +- .../templates/djangocms_video/default/video_player.html | 4 ++-- tests/settings.py | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/djangocms_video/migrations/0012_hlsstreamsource.py b/djangocms_video/migrations/0012_hlsstreamsource.py index e9abdfa..5c591ac 100644 --- a/djangocms_video/migrations/0012_hlsstreamsource.py +++ b/djangocms_video/migrations/0012_hlsstreamsource.py @@ -15,7 +15,7 @@ class Migration(migrations.Migration): name='HlsStreamSource', fields=[ ('cmsplugin_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='%(app_label)s_%(class)s', serialize=False, to='cms.cmsplugin')), - ('hls_source_url', models.CharField(max_length=1024, verbose_name='HLS Source URL')), + ('hls_source_url', models.URLField(verbose_name="HLS Source URL")), ], bases=('cms.cmsplugin',), ), diff --git a/djangocms_video/templates/djangocms_video/default/video_player.html b/djangocms_video/templates/djangocms_video/default/video_player.html index 16310c0..01b597e 100644 --- a/djangocms_video/templates/djangocms_video/default/video_player.html +++ b/djangocms_video/templates/djangocms_video/default/video_player.html @@ -12,8 +12,8 @@ {% endwith %} {% else %} {# render or plugins #} -