test apns 2

bracket-feature
Laurent 9 months ago
parent eee120a789
commit 88920886b6
  1. 1
      requirements.txt
  2. 2
      tournaments/views.py

@ -11,3 +11,4 @@ pandas==2.2.2
xlrd==2.0.1
openpyxl==3.1.5
django-filter==24.3
cryptography==41.0.7

@ -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?!'))

Loading…
Cancel
Save