1
0
mirror of https://github.com/etesync/server synced 2025-07-23 15:38:07 +00:00
etesync-server/django_etebase/admin-cli/management/commands/users-list.py
Martin Michalec e1446646e9 Add admin-cli
2021-06-02 23:29:18 +02:00

9 lines
226 B
Python
Executable File

from django.core.management.base import BaseCommand
from myauth.models import User
class Command(BaseCommand):
def handle(self, *args, **options):
for user in User.objects.all():
print(user.username)