I built a login form and I can login as main admin, I wants that when i logged in as admin,all the users which are in auth_user table get listed in admin profile so that i can edit them manually.
So please tell me how can I access that auth_user table so that I can get all users information.
use a one line sql command
else
import your User model like
and try this(Django queryset )