{% load static %} {% static "images" as baseUrl %} {% include 'com.html'%} {% include 'navbar_vendor.html' %} Shops You Own {%csrf_token%} {% for item in shop %} {% if item.shop_state == 'START'%} {%else%} {%endif%} {{item.shop_name}} {{item.shop_description}} {% endfor %}