From 23e4b7a71ed549b742953bc951697fc27b6e797c Mon Sep 17 00:00:00 2001 From: Rohan Rangray Date: Wed, 3 Jun 2015 04:49:13 -0700 Subject: [PATCH] Print the users who were notified to console --- flashcards/management/commands/notifyusers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/flashcards/management/commands/notifyusers.py b/flashcards/management/commands/notifyusers.py index 0b51b60..1844584 100644 --- a/flashcards/management/commands/notifyusers.py +++ b/flashcards/management/commands/notifyusers.py @@ -18,4 +18,5 @@ class Command(BaseCommand): notify_list = map(lambda x: x[0], notify_filter) for user in User.objects.filter(pk__in=notify_list): + print "Notifying user:", user, "with key:", user.registration_id user.notify() -- 1.9.1