Skip to main content

A pluggable implementation of webmention for Django projects

Project description

django-webmention PyPI version Build Status

webmention for Django projects.


$ pip install django-webmention

  • Add 'webmention' to INSTALLED_APPS
  • Run python migrate webmention
  • Add the URL patterns to your top-level
    • path('webmention/', include(webmention.urls)) for Django >= 2.0
    • url(r'^webmention', include('webmention.urls', namespace='webmention')) for Django < 2.0


  • Include webmention information by either:
    • Installing the middleware in (affects all views)
      • Use webmention.middleware.webmention_middleware in MIDDLEWARE for Django >= 1.10
      • Use webmention.middleware.WebMentionMiddleware in MIDDLEWARE_CLASSES for older projects
    • Decorating a specific view with webmention.middleware.include_webmention_information
  • View webmention responses in the Django admin interface and mark them as reviewed as needed



Running Tests

You can run tests using tox:

$ tox --parallel=auto

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 1.1.0
Filename, size File type Python version Upload date Hashes
Filename, size django_webmention-1.1.0-py3-none-any.whl (7.4 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size django-webmention-1.1.0.tar.gz (5.3 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