{% extends "base.html" %} {% block content %}

Here you can see users avaliable for chat, excluding yourself (chat with yourself is possible thought):

{% for user in object_list %} {% if user != request.user %}

{{ user.get_full_name }}

Chat with {{ user.username }} {% endif %} {% endfor %}
{% endblock %}