Skip to content

Commit

Permalink
PROTOTYPE: What's On - Event Page (#1347)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesbiggs authored Oct 2, 2023
1 parent 8258c8a commit 1172df5
Show file tree
Hide file tree
Showing 9 changed files with 1,205 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
"etna.records",
"etna.search",
"etna.users",
"etna.whatson",
"wagtail.contrib.forms",
"wagtail.contrib.redirects",
"wagtail.embeds",
Expand Down
Empty file added etna/whatson/__init__.py
Empty file.
7 changes: 7 additions & 0 deletions etna/whatson/apps.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
from django.apps import AppConfig


class WhatsonConfig(AppConfig):
default_auto_field = "django.db.models.AutoField"
name = "etna.whatson"
verbose_name = "Whats On"
7 changes: 7 additions & 0 deletions etna/whatson/blocks.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
from wagtail import blocks

from etna.core.blocks import ParagraphBlock


class EventPageBlock(blocks.StreamBlock):
paragraph = ParagraphBlock()
Loading

0 comments on commit 1172df5

Please sign in to comment.