def catalog(request, categoris_video_db_id):
CatVid_db = Video_db.objects.filter(slug = 'poop') #'poop' это значение в поле бд которое индентично нескольким товарам
context = {
'CatVid_db': CatVid_db
}
{% extends "main/index.html" %}
{% load static %}
{% block content %}
<div class="row tm-catalog-item-list">
<div class="col-lg-4 col-md-6 col-sm-12 tm-catalog-item">
<div class="position-relative tm-thumbnail-container">
<img src="{% static "img/tn-01.jpg" %}" alt="Image" class="img-fluid tm-catalog-item-img">
<a href="#" class="position-absolute tm-img-overlay">
<i class="fas fa-play tm-overlay-icon"></i>
</a>
</div>
<div class="p-4 tm-bg-gray tm-catalog-item-description">
<h3 class="tm-text-primary mb-3 tm-catalog-item-title">{{CatVid_db.name}}</h3>
<p class="tm-catalog-item-text">{{categoris_video_db.description}} <span class="tm-text-secondary">do not need</span> any JS.
They are just separated HTML pages. Paging is at the bottom to extend the list as long as you want.
This can be a large catalog.</p>
</div>
</div>
{% endblock %}