Commit 23e4b7a71ed549b742953bc951697fc27b6e797c

Authored by Rohan Rangray
1 parent e19be046c2
Exists in master

Print the users who were notified to console

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

flashcards/management/commands/notifyusers.py View file @ 23e4b7a
... ... @@ -18,5 +18,6 @@
18 18 notify_list = map(lambda x: x[0], notify_filter)
19 19  
20 20 for user in User.objects.filter(pk__in=notify_list):
  21 + print "Notifying user:", user, "with key:", user.registration_id
21 22 user.notify()