[fix] excel download

This commit is contained in:
FlyingPigeon-py
2024-04-02 20:34:56 +03:00
parent e5faea0df4
commit 88b93f7321
2 changed files with 25 additions and 37 deletions
+6
View File
@@ -2,6 +2,7 @@ from django.urls import include, path
from rest_framework import routers
from api.users.views import (
DownloadUsersFromExcelView,
RegisterUsersFromExcelView,
UserViewSet,
)
@@ -19,4 +20,9 @@ urlpatterns = [
RegisterUsersFromExcelView.as_view(),
name="excel-upload",
),
path(
"download/excel/<event_id>/",
DownloadUsersFromExcelView.as_view(),
name="excel-download",
)
]