{% extends 'base.html' %} {% block content %} {% if not cars %}

No cars yet

{% else %}

Total cars: {{ cars|length }}

{% for car in cars %}
{{ car.type}}

{{ car.type }}

{{ car.model }}

{% endfor %}
{% endif %} {% endblock %}