{% extends 'base.html' %} {% block title %}User Analysis - Yatra Booking System{% endblock %} {% block content %}

👥 User Management

Manually test user registration, authentication, and profile management features.

➕ Add User Role 👤 Add New User ⚙️ Manage Users

Users in Database (Latest 50 Records)

{% if users %} {% for user in users %} {% endfor %}
ID Name Email Phone Role Status Email Verified Created
{{ user.id }} {{ user.full_name }} {{ user.email }} {{ user.phone|default:"N/A" }} {{ user.role.name }} {{ user.status }} {% if user.email_verified %} ✅ Verified {% else %} ❌ Not Verified {% endif %} {{ user.created_at|date:"M d, Y" }}
{% else %}

📭 No Users Found

Your database doesn't contain any user records yet.

Users will appear here once they register through your application.

{% endif %}

🔍 Manual Testing Checklist

Registration Testing

  • ✅ User registration form validation
  • ✅ Email uniqueness enforcement
  • ✅ Phone number validation
  • ✅ Password security requirements
  • ✅ Role assignment accuracy

Authentication Testing

  • ✅ Login functionality
  • ✅ Password verification
  • ✅ Email verification workflow
  • ✅ Account lockout mechanism
  • ✅ Session management

Profile Management

  • ✅ Profile update functionality
  • ✅ Status change workflow
  • ✅ Data integrity validation
  • ✅ Audit trail logging
  • ✅ Role-based permissions
{% endblock %}