found out from about the login username and password that to which group belongs the user django code example Example: django import user from django.contrib.auth.models import User