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