NK
Size: a a a
NK
.
НК
AO
AO
NK
MO
MO
MO
NK
НК
AF
NK
AO
NK
Z
t
Z
t
from django.contrib.auth.models import User, Group
group = Group(name="Teacher") group.save()
user = User.objects.get(pk=1) user.groups.add(group)
if user.groups.filter(name=group_name).exists():
pass