Safe_Share/safeshare/safeshare_app/urls/__init__.py

10 lines
301 B
Python

from django.urls import path, include
from rest_framework import routers
from safeshare_app.views import ManageItemsView, ManageItemView
urlpatterns = [
path('files/', ManageItemsView.as_view(), name="manage_items"),
path('files/<str:key>/', ManageItemView.as_view(), name="manage_item"),
]