mosparo spam protection for wagtail cms
Project description
Wagtail Mosparo
A Wagtail integration for mosparo spam protection. This package provides a form mixin that adds mosparo spam protection to Wagtail forms.
Requirements
- Django >= 4.2
- Wagtail >= 7.0
- mosparo-django >= 1.0.7
Installation
pip install wagtail-mosparo
Setup
- Add both
mosparo_djangoandwagtail_mosparoto yourINSTALLED_APPS:
INSTALLED_APPS = [
# ...
'mosparo_django',
'wagtail_mosparo',
]
- Configure mosparo-django in your settings:
MOSPARO_HOST = 'https://...'
MOSPARO_UUID = '...'
MOSPARO_PUBLIC_KEY = '...'
MOSPARO_PRIVATE_KEY = '...'
MOSPARO_VERIFY_SSL = True
See the mosparo-django documentation for full configuration options.
Usage
from wagtail.contrib.forms.models import FormPage
from wagtail_mosparo.mixins import WagtailMosparoFormMixin
class MyFormPage(WagtailMosparoFormMixin, FormPage):
pass
The mixin adds a mosparo field (named wagtailmosparo) with the label "Spam protection" to your forms.
License
MIT License. See LICENSE for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wagtail_mosparo-0.1.0.tar.gz.
File metadata
- Download URL: wagtail_mosparo-0.1.0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.2 CPython/3.13.3 Darwin/25.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8bf567148b199d3c0d412a52f96566fc646e13c1e983a212ca8210d8bb378776
|
|
| MD5 |
dbb92a7562962b619a71089f6337f18f
|
|
| BLAKE2b-256 |
b0b3ac0230aa9925b7a06e86cb1dc4b30bf2fbfc47eaa619c17cc6a527e55368
|
File details
Details for the file wagtail_mosparo-0.1.0-py3-none-any.whl.
File metadata
- Download URL: wagtail_mosparo-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.2 CPython/3.13.3 Darwin/25.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d59c26cfeb91c0f7cabe89a6813abd15ddeacf5ac24a57964a4d8471c12dfefb
|
|
| MD5 |
bd47b3112e06cef85549b30dec46eb6d
|
|
| BLAKE2b-256 |
c7693da6428b620d5d901f7cd525b500fcd394701edb246340560e9cebedf4da
|