From 0b6a759a6ebb04588330d00f5f7d5664c9981f54 Mon Sep 17 00:00:00 2001 From: Rohan Rangray Date: Wed, 3 Jun 2015 04:26:32 -0700 Subject: [PATCH] Fixed error in notify_users management command --- flashcards/management/commands/notifyusers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flashcards/management/commands/notifyusers.py b/flashcards/management/commands/notifyusers.py index da47572..26ca296 100644 --- a/flashcards/management/commands/notifyusers.py +++ b/flashcards/management/commands/notifyusers.py @@ -16,4 +16,4 @@ class Command(BaseCommand): ).values_list('user').distinct().all() for user in notify_list: - user.notify() + user[0].notify() -- 1.9.1