{% extends "django_security_monitor/base.html" %} {% block title %}Visitors{% endblock %} {% block topbar_title %}👥 Visitor Tracking{% endblock %} {% block content %}
All Visitors ({{ page_obj.paginator.count }})
{% for v in page_obj %} {% empty %} {% endfor %}
IPUserVisitsLocation First VisitLast VisitUser Agent
{{ v.ip_address }} {{ v.user.username|default:"—" }} {{ v.visit_count }} {% if v.location %} {{ v.location.city|default:"" }}{% if v.location.city %}, {% endif %}{{ v.location.country_code|default:"" }} {% else %}—{% endif %} {{ v.first_visit|date:"M d, Y" }} {{ v.last_visit|date:"M d H:i" }} {{ v.user_agent|default:"—" }}
No visitors yet
{% if page_obj.has_other_pages %}
{% if page_obj.has_previous %} ← Prev {% endif %} {{ page_obj.number }} / {{ page_obj.paginator.num_pages }} {% if page_obj.has_next %} Next → {% endif %}
{% endif %}
{% endblock %}