Добавлен каталог, с рабочим стилем

This commit is contained in:
Vinejar
2025-03-31 03:25:25 +03:00
parent 62854a259f
commit da407d85ae
6 changed files with 184 additions and 11 deletions

View File

@@ -1,7 +1,9 @@
from django.urls import path
from .views import show_manga, show_manga_page
from .views import show_manga, show_manga_page, manga_catalog
urlpatterns = [
path('catalog/', manga_catalog, name='manga_catalog'),
path('manga/<int:manga_id>/', show_manga, name='show_manga'),
path('manga/<int:manga_id>/page/<int:page_number>/', show_manga_page, name='show_manga_page'),
]