django-wm 4.1.2
pip install django-wm
Released:
Webmention support for Django.
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: GNU General Public License v3 (GPLv3) (GPLv3)
- Author: Michael Beaton
- Requires: Python >=3.7
-
Provides-Extra:
celery
,test
,wagtail
Classifiers
- Framework
- Intended Audience
- License
- Programming Language
Project description
django-wm
django-wm
lets you add Webmention functionality to your Django project with minimal setup.
Upgrading
Please check the changelog before upgrading.
Major versions introduce breaking changes which may require code changes in your application. Please check the upgrade guide for full instructions on how to handle these.
Minor versions may require a database migration for new features - this will be noted in the changelog and the wiki release page when necessary.
Getting started
All done? You can use the testing tool to make sure it works.
Features
-
Endpoints:
/webmention
: Receives incoming Webmentions from other sites./webmention/get
: Used to retrieve Webmentions for a page on your site.
e.g./webmention/get?url=/my-article
will return any received Webmentions that target/my-article
on your site.// /webmention/get?url=/my-article { "target_url": "https://my-site.org/my-article", "mentions": [ { "hcard": { "name": "Jane Bloggs", "avatar": "https://gravatar.com/janebloggs", "homepage": "https://jane-bloggs-example.org" }, "quote": null, "source_url": "https://jane-bloggs-example.org/some-article", "published": "2020-01-17T21:45:24.542Z", "type": "webmention" } ] }
-
WebmentionHeadMiddleware
adds your/webmention
endpoint to the headers of your pages so that it can be discovered by other sites. -
{% webmentions_endpoint %}
template tag to include your/webmention
endpoint to your Django templates HTML element. -
MentionableMixin
enables automatic submission of Webmentions to other sites when you mention them in your content.
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: GNU General Public License v3 (GPLv3) (GPLv3)
- Author: Michael Beaton
- Requires: Python >=3.7
-
Provides-Extra:
celery
,test
,wagtail
Classifiers
- Framework
- Intended Audience
- License
- Programming Language
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
File details
Details for the file django_wm-4.1.2.tar.gz
.
File metadata
- Download URL: django_wm-4.1.2.tar.gz
- Upload date:
- Size: 59.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | da9f2c30132ba6eb3b40eda07a3d88882a3560040945481e5e650ce470706869 |
|
MD5 | 278314b833ccf031882f512567642506 |
|
BLAKE2b-256 | 06f580e62bdbb733df490287b14889815a4a012e3d9210fb62fb49c54624ac02 |
File details
Details for the file django_wm-4.1.2-py3-none-any.whl
.
File metadata
- Download URL: django_wm-4.1.2-py3-none-any.whl
- Upload date:
- Size: 87.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 665238f10eff91855e0dfeb2edb64b12ade1413761eb50ae9446cb769b149c3c |
|
MD5 | b1151be83298b2dfd5a9ef1ec44badc7 |
|
BLAKE2b-256 | 17a96ca501336dff2c5a4d1ea599c38646f3fb944c247882c876b3140bdd7358 |