# Analysis, API and Payment views
* refactors payment creation, editing and removing into class based views * refactors analysis report methods into class based views * drops unused method view on api app (token generating has been de facto moved into users app long time ago)
This commit is contained in:
@@ -10,7 +10,7 @@ from compensation.views.payment import *
|
||||
|
||||
app_name = "pay"
|
||||
urlpatterns = [
|
||||
path('<id>/new', new_payment_view, name='new'),
|
||||
path('<id>/remove/<payment_id>', payment_remove_view, name='remove'),
|
||||
path('<id>/edit/<payment_id>', payment_edit_view, name='edit'),
|
||||
path('<id>/new', NewPaymentView.as_view(), name='new'),
|
||||
path('<id>/remove/<payment_id>', RemovePaymentView.as_view(), name='remove'),
|
||||
path('<id>/edit/<payment_id>', EditPaymentView.as_view(), name='edit'),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user