Skip to content
Snippets Groups Projects
Commit 3d6244eb authored by OndraRehounek's avatar OndraRehounek
Browse files

main: remove manual timeline field

parent 013f0da1
No related branches found
No related tags found
2 merge requests!607Pirati.cz,!575Feature/pirati cz
...@@ -195,18 +195,6 @@ class MainArticlesPage( ...@@ -195,18 +195,6 @@ class MainArticlesPage(
ExtendedMetadataPageMixin, SubpageMixin, MetadataPageMixin, Page ExtendedMetadataPageMixin, SubpageMixin, MetadataPageMixin, Page
): ):
perex = models.TextField() perex = models.TextField()
timeline = StreamField( # TODO delete
[
(
"article_list",
PageChooserBlock(
page_type="main.MainArticlePage", label="Vybrat aktualitu"
),
)
],
verbose_name="Timeline",
blank=True,
)
last_import_log = models.TextField( last_import_log = models.TextField(
"Výstup z posledního importu", null=True, blank=True "Výstup z posledního importu", null=True, blank=True
) )
...@@ -238,7 +226,7 @@ class MainArticlesPage( ...@@ -238,7 +226,7 @@ class MainArticlesPage(
subpage_types = ["main.MainArticlePage"] subpage_types = ["main.MainArticlePage"]
### PANELS ### PANELS
content_panels = Page.content_panels + [FieldPanel("perex"), FieldPanel("timeline")] content_panels = Page.content_panels + [FieldPanel("perex")]
promote_panels = make_promote_panels() promote_panels = make_promote_panels()
### EDIT HANDLERS ### EDIT HANDLERS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment