Commit 0b6a759a6ebb04588330d00f5f7d5664c9981f54

Authored by Rohan Rangray
1 parent 5a20f17939
Exists in master

Fixed error in notify_users management command

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

flashcards/management/commands/notifyusers.py View file @ 0b6a759
... ... @@ -16,5 +16,5 @@
16 16 ).values_list('user').distinct().all()
17 17  
18 18 for user in notify_list:
19   - user.notify()
  19 + user[0].notify()