{% extends 'base.html' %} {% load staticfiles %} {% block title %}index{% endblock %} {% block body_block %}

There is index page

{% if user.is_authenticated %} {% if item_list %}

here is not finished issue

{% endif %} {% if item_list_done %}

here is your finished issue

{% else %} you 're not logged {% endif %} {% endblock %}