This commit is contained in:
2025-03-13 22:08:06 +01:00
commit bab5571428
93 changed files with 4323 additions and 0 deletions

10
app/torrent/urls.py Normal file
View File

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