django-webpush icon indicating copy to clipboard operation
django-webpush copied to clipboard

Web Push Notification Package for Django

Results 49 django-webpush issues
Sort by recently updated
recently updated
newest added

'WebPushException' object has no attribute 'response'

Hi, When I call the below lines in my applications, I got the ASCII encode error. **send_user_notification(user=user, payload=payload, ttl=1000)** Below I have attached the Screenshot for the issue and payload...

If a Firefox user has disabled notifications globally by setting dom.webnotifications.enabled:false in prefs (like me!), there will be no Notification object. webpush.js needs to check whether it exists before trying...

Currently these variables are in global scope: ``` js var isPushEnabled = false, subBtn, messageBox, registration; ``` Also these methods: `subscribe`, `unsubscribe`, `postSubscribeObj`. This is a bad practive especially because...

TypeError: unhashable type is now thrown when attempting to send a notifcation. I am seeing the error attempt to send a notification using the following code: ``` from webpush import...

As I said in #16 in this [comment](https://github.com/safwanrahman/django-webpush/pull/18#issuecomment-252538177) maybe it will be better to have just basic functionality in JS and not force user to use specific UI because it's...

Currently all informing messages for user are hardcoded as js strings, for example: ``` js messageBox.textContent = 'Service Worker is not supported in your Browser!'; ``` Translation to different language...

Need to add test for everything so we dont get regression in future. also make it run into any CI

Hi, I am using this package with Django 3, and I have noticed that doing `python manage.py makemigrations` creates me a migration that adds the ids to the models. The...

Hi, I am using this package with Django 3, and I have noticed that doing `python manage.py makemigrations` creates me a migration that adds the ids to the models... #110