mirror of
https://github.com/etesync/server
synced 2025-07-06 15:22:33 +00:00
9 lines
259 B
Python
Executable File
9 lines
259 B
Python
Executable File
from django.core.management.base import BaseCommand
|
|
from django.contrib.auth.models import Permission
|
|
|
|
class Command(BaseCommand):
|
|
|
|
def handle(self, *args, **options):
|
|
for permission in Permission.objects.all():
|
|
print(permission.name)
|