auth user is staff django code example
Example 1: django user fields
# Django User Model Fields
username
first_name
last_name
email
password
groups
user_permissions
is_staff
is_active
is_superuser
last_login
date_joined
Example 2: login views django template passing
path('accounts/login/', auth_views.LoginView.as_view(template_name='myapp/login.html')),