From 33b5a37b4ce0e748f981f2a67da051669792d275 Mon Sep 17 00:00:00 2001 From: Archmonger <16909269+Archmonger@users.noreply.github.com> Date: Tue, 7 Sep 2021 00:00:20 -0700 Subject: [PATCH 01/12] rename view.html -> component.html --- src/django_idom/templates/idom/{view.html => component.html} | 0 src/django_idom/templatetags/idom.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename src/django_idom/templates/idom/{view.html => component.html} (100%) diff --git a/src/django_idom/templates/idom/view.html b/src/django_idom/templates/idom/component.html similarity index 100% rename from src/django_idom/templates/idom/view.html rename to src/django_idom/templates/idom/component.html diff --git a/src/django_idom/templatetags/idom.py b/src/django_idom/templatetags/idom.py index d294d2da..701d2794 100644 --- a/src/django_idom/templatetags/idom.py +++ b/src/django_idom/templatetags/idom.py @@ -16,7 +16,7 @@ register = template.Library() -@register.inclusion_tag("idom/view.html") +@register.inclusion_tag("idom/component.html") def idom_component(_component_id_, **kwargs): _register_component(_component_id_) From d4776fe6fa91c8694febe0009fd5f7fe90ec4996 Mon Sep 17 00:00:00 2001 From: Archmonger <16909269+Archmonger@users.noreply.github.com> Date: Tue, 7 Sep 2021 00:44:49 -0700 Subject: [PATCH 02/12] remove pinned twisted version --- requirements/test-env.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/requirements/test-env.txt b/requirements/test-env.txt index c100c316..6f2e151e 100644 --- a/requirements/test-env.txt +++ b/requirements/test-env.txt @@ -1,6 +1,3 @@ django selenium - -# required due issue with channels: -# https://github.com/django/channels/issues/1639#issuecomment-817994671 -twisted<21 +twisted From 766ca41c7e28199d33b20ab61228bede2206efc6 Mon Sep 17 00:00:00 2001 From: Archmonger <16909269+Archmonger@users.noreply.github.com> Date: Tue, 7 Sep 2021 01:00:16 -0700 Subject: [PATCH 03/12] add class as a component param --- src/django_idom/templates/idom/component.html | 2 +- src/django_idom/templatetags/idom.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/django_idom/templates/idom/component.html b/src/django_idom/templates/idom/component.html index adfc3a6d..84ec6963 100644 --- a/src/django_idom/templates/idom/component.html +++ b/src/django_idom/templates/idom/component.html @@ -1,5 +1,5 @@ {% load static %} -
+