Esempio n. 1
0
    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)
Esempio n. 2
0
 def setUp(self):
     group, created = setup_group('meetings_manager')
     User.objects.get(username='******').groups.add(group)
Esempio n. 3
0
 def setUp(self):
     setup_group('contact_manager')
Esempio n. 4
0
 def setUp(self):
     setup_group('query_manager')
Esempio n. 5
0
 def setUp(self):
     setup_group('metadata_manager')
Esempio n. 6
0
 def setUp(self):
     setup_group('user_manager')