Skip to content
Snippets Groups Projects

djangoldp-webpushnotification

Enable Web Push notifications for DjangoLDP.

Install

$ python -m pip install djangoldp_webpushnotification

Then add the app to your settings.yml like so:

ldppackages:
  - djangoldp_webpushnotification

Management commands

  • gen_vapid_key: Generate VAPID key pair

  • show_vapid_key: Show VAPID public key

  • delete_subscriptions: Clears existing subscriptions

Test

$ python -m unittest djangoldp_webpushnotification.tests.runner