Files
ibapp-backend/core/apps/counterparty/urls.py
2025-09-03 17:21:15 +05:00

22 lines
814 B
Python

from django.urls import path, include
from core.apps.counterparty.views import counterparty as cp_views
from core.apps.counterparty.views import counterparty_folder as folder_views
urlpatterns = [
path('counterparty/', include(
[
path('list/', cp_views.CounterpartyListApiView.as_view()),
path('create/', cp_views.CounterpartyCreateApiView.as_view()),
path('<uuid:id>/archive/', cp_views.ArchiveCounterpartyApiView.as_view()),
path('archived/list/', cp_views.ArchivedCounterpartyListApiView.as_view()),
]
)),
path('counterparty_folder/', include(
[
path('list/', folder_views.CounterpartyFolderListApiView.as_view()),
path('create/', folder_views.CounterpartyCreateApiView.as_view()),
]
))
]