Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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.

Files for django-webmention, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size django_webmention-0.0.2-py3-none-any.whl (10.3 kB) File type Wheel Python version 3.4 Upload date Hashes View hashes
Filename, size django-webmention-0.0.2.tar.gz (6.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page