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 (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.2.tar.gz (6.1 kB view hashes)

Uploaded source

Built Distribution

django_webmention-0.0.2-py3-none-any.whl (10.3 kB view hashes)

Uploaded 3 4

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page