Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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
    • Use path('webmention/', include(webmention.urls)) for newer projects
  • Run manage.py test webmention to ensure unit tests all pass

Usage

  • Include webmention information by either:
    • Installing the middleware in settings.py (affects all views)
      • Use webmention.middleware.webmention_middleware in MIDDLEWARE for new projects and projects with 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 tool and mark them as reviewed as needed

Release History

This version
History Node

0.1.0

History Node

0.0.4

History Node

0.0.3

History Node

0.0.2

History Node

0.0.1

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
django_webmention-0.1.0-py3-none-any.whl
(11.9 kB) Copy SHA256 Hash SHA256
Wheel 3.6 Jan 3, 2018
django-webmention-0.1.0.tar.gz
(6.9 kB) Copy SHA256 Hash SHA256
Source None Jan 3, 2018

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting