What should be exact and most appropriate method to implement push notifications in django rest framework. DRF documentation doesn't explain it well. Help me out with this one
Django REST framework is for creating API in django using built in django functionalities to retrieve request and serve response.
Django by itself doesn't support any protocol that will allow push notifications to be sent to client, so DRF also won't do that.
To create push notifications you have to use websockets, there are some third-party packages adding support of websockets to django. One of them is django-websocket-redis
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With