chore: rename model
This commit is contained in:
+5
-5
@@ -1,12 +1,12 @@
|
||||
from django.urls import path
|
||||
from tpv.views import order_created, webhook, payment_accepted, payment_rejected
|
||||
from tpv.views import transaction_created, webhook, payment_accepted, payment_rejected
|
||||
|
||||
app_name = "tpv"
|
||||
|
||||
|
||||
urlpatterns = [
|
||||
path("order/<str:order>/", order_created, name="order_created"),
|
||||
path("order/<str:order>/webhook/", webhook, name="webhook"),
|
||||
path("order/<str:order>/ok/", payment_accepted, name="ok"),
|
||||
path("order/<str:order>/ko/", payment_rejected, name="ko"),
|
||||
path("transaction/<str:transaction>/", transaction_created, name="order_created"),
|
||||
path("transaction/<str:transaction>/webhook/", webhook, name="webhook"),
|
||||
path("transaction/<str:transaction>/ok/", payment_accepted, name="ok"),
|
||||
path("transaction/<str:transaction>/ko/", payment_rejected, name="ko"),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user