Working with DB, admin form, WTForms, .env

This commit is contained in:
DarkCat09 2023-02-16 18:19:58 +04:00
parent 66133ac46c
commit 3f665df6a7
12 changed files with 263 additions and 25 deletions

18
templates/table.html Normal file
View file

@ -0,0 +1,18 @@
{% extends "base.html" %}
{% block title %}Database{% endblock %}
{% block content %}
<h1>Sample database</h1>
<table>
<tbody>
{% for row in rows %}
<tr>
{% for cell in row %}
<td>{{ cell }}</td>
{% endfor %}
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}