About

Events (talks, workshops, competitions and ceremonies) with public list/detail and admin CRUD

Provides

Models
Event
Services
EventsService
Routes
/admin/events/admin/events/<int:event_id>/delete/admin/events/<int:event_id>/edit/admin/events/<int:event_id>/move/admin/events/new/events/events/<slug>
Hooks filled
home.sectionlayout.authenticated_sidebar
Translations
enes

Commands

  • $ splent feature:events hello

    Example command — replace with your own.

Run them in your workspace once the feature is installed in the selected product.

Configuration

Setting Default What it does
EVENTS_NAV_LABEL empty Main-nav label. Empty keeps the default "Events".
EVENTS_SHOW_PAST true Keep past events on the public list. Also admin-editable in the settings panel, which wins at request time.
EVENTS_HOME_COUNT 3 How many upcoming events the homepage section shows. Zero hides the section. Also admin-editable in the settings panel, which wins.

These are the defaults. A product changes them in its own pyproject.toml, under [tool.splent.config], or in .env.deploy in production.

Dependencies

Works better with

In product lines

  • cms_spl Optional in this line Needs media

Extension points

Hook slots
events.admin.form.fieldsevents.admin.list.actionsevents.admin.list.event_metaevents.detail.before_metaevents.list.contentevents.list.heroevents.list.title
Templates
events/admin/form.htmlevents/admin/list.htmlevents/detail.htmlevents/hooks/home_section.htmlevents/index.htmlevents/list.html
Services
EventsService
Models
Event
Routes
A refinement can add routes to its blueprint

Other features fill its hook slots. A refinement can override its templates and services or extend its models without forking it.

Compatibility

Python
>=3.13
SPLENT framework
>=1.30.0