Skip to main content

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

  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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wagtail_mosparo-0.1.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wagtail_mosparo-0.1.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

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

Hashes for wagtail_mosparo-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8bf567148b199d3c0d412a52f96566fc646e13c1e983a212ca8210d8bb378776
MD5 dbb92a7562962b619a71089f6337f18f
BLAKE2b-256 b0b3ac0230aa9925b7a06e86cb1dc4b30bf2fbfc47eaa619c17cc6a527e55368

See more details on using hashes here.

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

Hashes for wagtail_mosparo-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d59c26cfeb91c0f7cabe89a6813abd15ddeacf5ac24a57964a4d8471c12dfefb
MD5 bd47b3112e06cef85549b30dec46eb6d
BLAKE2b-256 c7693da6428b620d5d901f7cd525b500fcd394701edb246340560e9cebedf4da

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page