10 lines
551 B
Python
10 lines
551 B
Python
from django.urls import path
|
|
from .views import AccountlistAPIView,AccountCreateAPIView,AccountDetailAPIView,AccountUpdateAPIView,AccountDeleteAPIView,AccountBalanceAPIView
|
|
urlpatterns =[
|
|
path("list",AccountlistAPIView.as_view()),
|
|
path("Create",AccountCreateAPIView.as_view()),
|
|
path("detail/<int:id>/",AccountDetailAPIView.as_view(),name="account-detail"),
|
|
path("Update/",AccountUpdateAPIView.as_view(),name="account-update"),
|
|
path("Delete/",AccountDeleteAPIView.as_view()),
|
|
path("Balance/", AccountBalanceAPIView.as_view()),
|
|
] |