Создан API, добавлен URL

This commit is contained in:
Alex committed 2024-01-12 09:10:20 +03:00
1 parent cd048faf06
commit f2f6064db7
5 files changed
+29 -5

No files matched your search

+7 -1
View File
@@ -1,2 +1,8 @@
from django.urls import path
from rest_framework.routers import DefaultRouter
from rest_framework.routers import DefaultRouter
from .views import *
urlpatterns = [
path('files/', SafetyFileAPIView.as_view(), name='safety_files')
]