chore: rename model

This commit is contained in:
2024-03-24 20:41:33 +01:00
parent 3742037d68
commit 05ece2c074
8 changed files with 90 additions and 96 deletions
+5 -5
View File
@@ -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"),
]