beatonma.org

django-wm: 4.1.1

Published
django-wm
App

Warning

python manage.py migrate required for new fields.

  • Added Webmention.has_been_read: bool field.

    • New context processor mentions.context_processors.unread_webmentions adds unread_webmentions field to template context, containing the queryset of unread Webmention objects.
    • Added admin actions for marking as read/unread.
  • New objects manager for Webmention with some common filters and actions.

  • New settings for allowing or disabling webmentions to/from a set of domains:
    • WEBMENTIONS_DOMAINS_INCOMING_ALLOW: Iterable[str] = None
    • WEBMENTIONS_DOMAINS_INCOMING_DENY: Iterable[str] = None
    • WEBMENTIONS_DOMAINS_OUTGOING_ALLOW: Iterable[str] = None
    • WEBMENTIONS_DOMAINS_OUTGOING_DENY: Iterable[str] = None
  • New settings for tags that can be added to your HTML links to allow/disable sending webmentions for just that specific link. (Overrides above allow/deny lists)
    • WEBMENTIONS_DOMAINS_OUTGOING_TAG_ALLOW: str = None
    • WEBMENTIONS_DOMAINS_OUTGOING_TAG_DENY: str = None