hw 2
1. Проект пересобран под фреймворк django 2. Все html переделаны под шаблоны 3. Прокинуты urls 4. Добавлена пагинация 5. Мелкие улучшения проекта 6. Добавлены Dockerfile и docker compose
This commit is contained in:
1 parent
97d0a2748b
commit
74038618af
40 files changed
+592
-983
No files matched your search
@@ -0,0 +1,9 @@
|
||||
<nav class="pagination">
|
||||
{% if page_obj.has_previous %}
|
||||
<a class="page-link" href="?page={{ page_obj.previous_page_number }}">Previous</a>
|
||||
{% endif %}
|
||||
<a class="page-link" href="#">{{ page_obj.number }}</a>
|
||||
{% if page_obj.has_next %}
|
||||
<a class="page-link" href="?page={{ page_obj.next_page_number }}">Next</a>
|
||||
{% endif %}
|
||||
</nav>
|
||||
Reference in new issue
Block a user