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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for django_webmention-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 873d0bb450b9cda3afbc1e53f93cf0b7420ca5c18da8826e3fc373216f3c05ec |
|
MD5 | 6513f305360bbce63d94370539579541 |
|
BLAKE2b-256 | 37623712276a8898633edff933fadb45a672e34f4c7464b7b549be59e34f34e3 |