[+] реализована пагинация на уровне объекта запроса

This commit is contained in:
rsgrinko committed 2023-07-24 22:55:47 +03:00
1 parent bcc5d4227b
commit 236fd45afa
6 files changed
+27 -8

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@
<html>
<head>
<title>{% block title %}Delta Framework{% endblock %}</title>
<link href="/assets/css/style.css" rel="stylesheet">
<link href="/assets/css/style.css?{{ salt }}" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1" />
</head>
<body>
+6 -1
View File
@@ -4,5 +4,10 @@
{% block main %}
<h1>Список пользователей</h1>
<p>This is sample text!</p>
<p>
<ul>{% for user in users %}
<li>{{ user.login }}</li>
{% endfor %}
</ul>
</p>
{% endblock %}