|
|
|
|
@ -500,7 +500,7 @@ def download(request): |
|
|
|
|
|
|
|
|
|
def test_apns(request): |
|
|
|
|
|
|
|
|
|
user = CustomUser.objects.filter(username='razmig').first() |
|
|
|
|
user = CustomUser.objects.filter(username='laurent').first() |
|
|
|
|
for device_token in user.devicetoken_set.all(): |
|
|
|
|
asyncio.run(send_push_notification(device_token.value, 'LOL?!')) |
|
|
|
|
|
|
|
|
|
|