{% extends "base.html" %} {% block content %}
{% if user.is_authenticated %} Zalogowany: {{ user.username }}  

Wyloguj


{% endif %}
{% csrf_token %} {{ form.as_p }}
{% endblock %}