diff --git a/district/models.py b/district/models.py index f215591ed2eb9d22fee6ccf1ed4cecfa2d9d6dbb..d358dcdbbfbc597a9d85e9524856ee69a3405f7d 100644 --- a/district/models.py +++ b/district/models.py @@ -355,13 +355,6 @@ class DistrictArticlePage( ): ### FIELDS - content = StreamField( - CONTENT_BLOCKS, - verbose_name="Článek", - blank=True, - use_json_field=True, - ) - author_page = models.ForeignKey( "district.DistrictPersonPage", on_delete=models.SET_NULL, null=True, blank=True ) diff --git a/district/templates/district/district_article_page.html b/district/templates/district/district_article_page.html index 08a9fc4ceb3acc2f1a2f36eb2d5e03c36a93877c..da90b00275bc082d1372c69d147eef746e0d2dac 100644 --- a/district/templates/district/district_article_page.html +++ b/district/templates/district/district_article_page.html @@ -41,7 +41,7 @@ <div class="lg:w-2/3"> <div itemprop="description" class="w-full space-y-8"> {% for block in page.content %} - {% include_block block with block_id=block.id %} + {% include_block block %} {% endfor %} {% if page.author_page %}