{% extends 'admin/base_site.html' %} {% block title %}Users{% endblock %} {% block page_title %}User Management{% endblock %} {% block nav_users %}active{% endblock %} {% block topbar_actions %} + Create User {% endblock %} {% block content %}
Clear
{% for u in users %} {% empty %} {% endfor %}
#UserTypeRoleStatusJoinedQuick RoleActions
{{ u.id }}
{{ u.username }}
{{ u.email }}
{% if u.is_superuser %}Superadmin{% endif %}
{{ u.account_type|title }} {{ u.role }} {% if u.is_active %}Active{% else %}Inactive{% endif %} {{ u.date_joined|date:"M d, Y" }} {% if not u.is_superuser %}
{% csrf_token %}
{% else %}-{% endif %}
Edit {% if request.user.is_superuser and not u.is_superuser %} {% if u.role != 'Admin' %}
{% csrf_token %}
{% endif %} {% if u.role != 'Organiser' %}
{% csrf_token %}
{% endif %} {% endif %} {% if not u.is_superuser and u.id != request.user.id %}
{% csrf_token %}
{% endif %}
No users found.
{% if page_obj.has_other_pages %}
{% if page_obj.has_previous %} ← Prev {% endif %} Page {{ page_obj.number }} of {{ page_obj.paginator.num_pages }} • {{ page_obj.paginator.count }} total {% if page_obj.has_next %} Next → {% endif %}
{% endif %} {% endblock %}