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.4.tar.gz (6.5 kB view details)

Uploaded Source

File details

Details for the file django-webmention-0.0.4.tar.gz.

File metadata

File hashes

Hashes for django-webmention-0.0.4.tar.gz
Algorithm Hash digest
SHA256 6cc8dfb43168278b3fc3c554145c6a45cfe993790bb702460ba66999616a5e64
MD5 df15dc0ca43279e285f7f28920ea88f1
BLAKE2b-256 039363e39df54befbbaa89b09d9c015979a4e98b4c2d281662c56a1fdea1e1fb

See more details on using hashes here.

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