mirror of
https://github.com/etesync/server
synced 2024-10-31 20:58:54 +00:00
9 lines
239 B
Python
9 lines
239 B
Python
|
from django.core.management.base import BaseCommand
|
||
|
from django.contrib.auth.models import Group
|
||
|
|
||
|
class Command(BaseCommand):
|
||
|
|
||
|
def handle(self, *args, **options):
|
||
|
for group in Group.objects.all():
|
||
|
print(group.name)
|