About
Contact form with stored messages (public form + admin inbox)
Provides
Models
ContactMessage
Services
ContactService
Routes
/admin/contact/admin/contact/<int:message_id>/delete/admin/contact/<int:message_id>/read/contact
Hooks filled
layout.authenticated_sidebar
Signals
contact-createdcontact-submitting
Translations
es
Commands
-
$
splent feature:contact helloExample command, replace it with your own.
Run them in your workspace once the feature is installed in the selected product.
Configuration
| Setting | Default | What it does |
|---|---|---|
CONTACT_MAX_PER_HOUR |
5
|
No description yet. |
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
mail -
openwiki_spl
Optional in this line
Needs
mail
Extension points
Hook slots
contact.map
Templates
contact/admin/list.htmlcontact/index.html
Services
ContactService
Models
ContactMessage
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