exibindo dados do banco no html

This commit is contained in:
2024-12-10 20:42:10 -03:00
parent 91dde27384
commit fbb326f347
26 changed files with 170 additions and 24 deletions

View File

@@ -1,12 +1,33 @@
{% extends "base.html" %}
{% load static %}
{% block 'title' %}
Type Pay
{% block 'head' %}
<link rel="stylesheet" href="{% static 'mesas/css/mesas.css' %}">
{% endblock %}
{% block 'title' %}
Produtos
{% endblock %}
{% block 'body' %}
Body Type Pay
<body>
<div class="grid-container">
{% for product in products %}
<div class="card">{{product.name}}</div>
{% endfor %}
</div>
</body>
{% endblock %}