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()