From f84ed4c410e83c826f74d6db7375d3e0bb6f7053 Mon Sep 17 00:00:00 2001
From: OndraRehounek <ondra.rehounek@seznam.cz>
Date: Fri, 15 Apr 2022 13:28:28 +0200
Subject: [PATCH] district & region: Remove HTML renderer

---
 district/models.py | 4 ++--
 region/models.py   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/district/models.py b/district/models.py
index 2aaa34ce..4c946bd7 100644
--- a/district/models.py
+++ b/district/models.py
@@ -888,7 +888,7 @@ class DistrictCenterPage(CalendarMixin, SubpageMixin, MetadataPageMixin, Page):
     content = StreamField(
         [
             ("text", RichTextBlock()),
-            ("table", TableBlock(table_options={"renderer": "html"})),
+            ("table", TableBlock()),
         ],
         verbose_name="Obsah",
         blank=True,
@@ -1001,7 +1001,7 @@ class DistrictCustomPage(SubpageMixin, MetadataPageMixin, Page):
     content = StreamField(
         [
             ("text", RichTextBlock()),
-            ("table", TableBlock(table_options={"renderer": "html"})),
+            ("table", TableBlock()),
             ("people_group", blocks.PeopleGroupListBlock()),
         ],
         verbose_name="Obsah",
diff --git a/region/models.py b/region/models.py
index 6f4c6349..d1f6072b 100644
--- a/region/models.py
+++ b/region/models.py
@@ -874,7 +874,7 @@ class RegionCenterPage(CalendarMixin, SubpageMixin, MetadataPageMixin, Page):
     content = StreamField(
         [
             ("text", RichTextBlock()),
-            ("table", TableBlock(table_options={"renderer": "html"})),
+            ("table", TableBlock()),
         ],
         verbose_name="Obsah",
         blank=True,
@@ -987,7 +987,7 @@ class RegionCustomPage(SubpageMixin, MetadataPageMixin, Page):
     content = StreamField(
         [
             ("text", RichTextBlock()),
-            ("table", TableBlock(table_options={"renderer": "html"})),
+            ("table", TableBlock()),
             ("people_group", blocks.PeopleGroupListBlock()),
         ],
         verbose_name="Obsah",
-- 
GitLab