Skip to main content

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

  1. Add both mosparo_django and wagtail_mosparo to your INSTALLED_APPS:
INSTALLED_APPS = [
    # ...
    'mosparo_django',
    'wagtail_mosparo',
]
  1. 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.

Metadata

Release files for wagtail-mosparo 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wagtail-mosparo 0.1.0
File Size Uploaded
wagtail_mosparo-0.1.0.tar.gz 3.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for wagtail-mosparo 0.1.0
File Interpreter ABI Platform
wagtail_mosparo-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.6 kB

Release files / wagtail_mosparo-0.1.0.tar.gz

Download URL wagtail_mosparo-0.1.0.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
8bf567148b199d3c0d412a52f96566fc646e13c1e983a212ca8210d8bb378776
BLAKE2b-256 checksum
How to use checksums
b0b3ac0230aa9925b7a06e86cb1dc4b30bf2fbfc47eaa619c17cc6a527e55368
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.2 CPython/3.13.3 Darwin/25.5.0

Release files / wagtail_mosparo-0.1.0-py3-none-any.whl

Download URL wagtail_mosparo-0.1.0-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d59c26cfeb91c0f7cabe89a6813abd15ddeacf5ac24a57964a4d8471c12dfefb
BLAKE2b-256 checksum
How to use checksums
c7693da6428b620d5d901f7cd525b500fcd394701edb246340560e9cebedf4da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.2 CPython/3.13.3 Darwin/25.5.0

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page