9 lines
252 B
Python
9 lines
252 B
Python
from django.urls import include, path
|
|
from rest_framework.routers import DefaultRouter
|
|
|
|
from .views import PaymentView
|
|
|
|
router = DefaultRouter()
|
|
router.register("payment", PaymentView, basename="payment")
|
|
urlpatterns = [path("", include(router.urls))]
|