Skip to main content

A pluggable implementation of webmention for Django projects.

Project description

webmention for Django projects.

Installation

$ pip install django-webmention

  • Add webmention to INSTALLED_APPS

  • Run manage.py migrate webmention

  • Add url(r'^webmention', include('webmention.urls', namespace='webmention')) to top-level urls.py

  • Run manage.py test webmention to ensure unit tests all pass

Usage

  • Include webmention information by either:

    • Adding webmention.middleware.WebMentionMiddleware to MIDDLEWARE_CLASSES (affects all views)

    • Decorating a specific view with webmention.middleware.include_webmention_information

  • View webmention responses in the Django admin tool and mark them as reviewed as needed

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

django-webmention-0.0.3.tar.gz (6.1 kB view hashes)

Uploaded Source

Built Distribution

django_webmention-0.0.3-py3-none-any.whl (10.4 kB view hashes)

Uploaded Python 3

Supported by

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