This commit is contained in:
2025-04-13 11:59:50 +02:00
parent 80640d2580
commit fe3191d4a2
21 changed files with 567 additions and 117 deletions

View File

@@ -1,10 +1,11 @@
from django.urls import path
from .views import HomeView, download_file, download_torrent
from .views import HomeView, download_file, download_torrent, pping
app_name = "torrent"
urlpatterns = [
path("", HomeView.as_view(), name="home"),
path("pping/", pping, name="pping"),
path("download_file/<uuid:file_id>", download_file, name="download_file"),
path("download_torrent/<str:torrent_id>", download_torrent, name="download_torrent"),
]