{% extends 'base.html' %} {% block title %}Товары{% endblock %} {% block content %}

Все товары

{% if user.is_staff %} Добавить товар {% endif %} {% for item in items%}
{{item.title}}

{{item.full_desc}}

Подробнее
{% endfor %} {% endblock %}