safwanrahman / django-webpush

Web Push Notification Package for Django
GNU General Public License v3.0
362 stars 103 forks source link

Support for Django 4.1 #124

Closed clearminds closed 5 months ago

clearminds commented 10 months ago

contextfunction has been renamed to pass_context

safwanrahman commented 10 months ago

@clearminds Can you make it backward compitable?

clearminds commented 9 months ago

no clue how that is going to be possible to do since it is a decorator :/

clearminds commented 7 months ago

@safwanrahman ok, should be updated now with code that is backwards compatible

clearminds commented 6 months ago

@safwanrahman should I give up on using this library and move to something else?

drien commented 5 months ago

I forked and made these same changes myself before seeing this PR, everything seems to work properly.

I also removed the unused arrow import, since it's not actually used anywhere and not declared as a dependency.

safwanrahman commented 5 months ago

Sorry for not looking into this. I have merged it, thanks @clearminds