15 lines
487 B
Python
15 lines
487 B
Python
from django.urls import path
|
|
|
|
from .views import HomeView, download_file, download_torrent, flux_file, 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"
|
|
),
|
|
path("flux_file/<uuid:file_id>", flux_file, name="flux_file"),
|
|
]
|