From faea76253ce57aa6e7eb57d838c1fc11783d43e6 Mon Sep 17 00:00:00 2001 From: Rohan Moniz Date: Fri, 13 Oct 2023 17:32:25 -0400 Subject: [PATCH] oops --- .../management/commands/populate_audiences.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/backend/announcements/management/commands/populate_audiences.py b/backend/announcements/management/commands/populate_audiences.py index 820baf6..ad3972a 100644 --- a/backend/announcements/management/commands/populate_audiences.py +++ b/backend/announcements/management/commands/populate_audiences.py @@ -1,16 +1,8 @@ -import json -import random - -from django.contrib.auth.models import Group -from django.core.management import BaseCommand, call_command +from django.core.management import BaseCommand from announcements.models import Audience -with open("accounts/data/users.json") as f: - users = json.load(f)["users"] - - class Command(BaseCommand): def handle(self, *args, **options):