10 lines
337 B
Python
10 lines
337 B
Python
from django.urls import path, include
|
|
from .views import HomeView, ChargeView, ChargeRequestApiView
|
|
|
|
app_name = "core"
|
|
|
|
urlpatterns = [
|
|
path('', HomeView.as_view(), name='home'),
|
|
path('charge/<pk>/', ChargeView.as_view(), name='charge'),
|
|
path('api/charge_create', ChargeRequestApiView.as_view(), name='charge_create_api'),
|
|
]
|