I wrote the following simple code to send web push messages to an Angular application:
profile = Profile.objects.filter(user__id=1).first() subscription_info = {