def handle(self, *args, **options): for name in GROUPS: group, created = setup_group(name) if created: print('Group "%s" created' % name) else: print('Group "%s" updated' % name)
def setUp(self): group, created = setup_group('meetings_manager') User.objects.get(username='******').groups.add(group)
def setUp(self): setup_group('contact_manager')
def setUp(self): setup_group('query_manager')
def setUp(self): setup_group('metadata_manager')
def setUp(self): setup_group('user_manager')