Skip to content

Commit

Permalink
Fix migration, remove unneeded mptt from INSTALLED_APPS in tests, f…
Browse files Browse the repository at this point in the history
…ix video player template
  • Loading branch information
fsbraun committed Dec 24, 2024
1 parent abf5863 commit 63dd3b5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion djangocms_video/migrations/0012_hlsstreamsource.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',),
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
{% endwith %}
{% else %}
{# render <source> or <track> plugins #}
<video {% if show_controls %} controls {% endif %}
{% if autoplay %} autoplay {% endif %}
<video {% if show_controls %}controls{% endif %}
{% if autoplay %}autoplay{% endif %}
{{ instance.attributes_str }}
{% if instance.poster %} poster="{{ instance.poster.url }}"{% endif %}>
{% for plugin in instance.child_plugin_instances %}
Expand Down
1 change: 0 additions & 1 deletion tests/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
'INSTALLED_APPS': [
'easy_thumbnails',
'filer',
'mptt',
],
'CMS_LANGUAGES': {
1: [{
Expand Down

0 comments on commit 63dd3b5

Please sign in to comment.