Skip to content
Snippets Groups Projects
Select Git revision
  • f416f15c9079dadd144e2b5be70d657084f34a39
  • test default protected
  • master protected
  • feat/custom-css
  • feat/redesign-improvements-10
  • feat/redesign-improvements-8
  • feat/redesign-fixes-3
  • feat/pirstan-changes
  • feat/separate-import-thread
  • feat/dary-improvements
  • features/add-pdf-page
  • features/add-typed-table
  • features/fix-broken-calendar-categories
  • features/add-embed-to-articles
  • features/create-mastodon-feed-block
  • features/add-custom-numbering-for-candidates
  • features/add-timeline
  • features/create-wordcloud-from-article-page
  • features/create-collapsible-extra-legal-info
  • features/extend-hero-banner
  • features/add-link-to-images
21 results

nginx.conf

Blame
  • 0044_auto_20210820_1602.py 3.84 KiB
    # Generated by Django 3.2.6 on 2021-08-20 14:02
    
    import wagtail.blocks
    import wagtail.fields
    from django.db import migrations
    
    
    class Migration(migrations.Migration):
        dependencies = [
            ("elections2021", "0043_auto_20210820_1443"),
        ]
    
        operations = [
            migrations.AlterField(
                model_name="elections2021programinnutshellpage",
                name="body",
                field=wagtail.fields.RichTextField(
                    blank=True, null=True, verbose_name="obsah"
                ),
            ),
            migrations.AlterField(
                model_name="elections2021programinnutshellpage",
                name="content",
                field=wagtail.fields.StreamField(
                    [
                        (
                            "section",
                            wagtail.blocks.StructBlock(
                                [
                                    (
                                        "title",
                                        wagtail.blocks.CharBlock(label="nadpis"),
                                    ),
                                    (
                                        "items",
                                        wagtail.blocks.ListBlock(
                                            wagtail.blocks.StructBlock(
                                                [
                                                    (
                                                        "text",
                                                        wagtail.blocks.TextBlock(
                                                            label="text"
                                                        ),
                                                    ),
                                                    (
                                                        "points",
                                                        wagtail.blocks.ListBlock(
                                                            wagtail.blocks.StructBlock(
                                                                [
                                                                    (
                                                                        "title",
                                                                        wagtail.blocks.TextBlock(
                                                                            label="titulek"
                                                                        ),
                                                                    ),
                                                                    (
                                                                        "point",
                                                                        wagtail.blocks.PageChooserBlock(
                                                                            label="programový bod",
                                                                            page_type=[
                                                                                "elections2021.Elections2021ProgramPointPage"
                                                                            ],
                                                                        ),
                                                                    ),
                                                                ]
                                                            ),
                                                            label="programové body",
                                                        ),
                                                    ),
                                                ]
                                            ),
                                            label="bloky",
                                        ),
                                    ),
                                ]
                            ),
                        )
                    ],
                    blank=True,
                    verbose_name="sekce",
                ),
            ),
        ]