Advertisement
c32team

django #2

Sep 21st, 2023
1,228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. for u in User.objects.all():
  2.     print ([g.name for g in u.groups.all()])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement