# 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:
2026-01-13 10:35:09 +01:00
parent 88058d7caf
commit 3f33de3626
6 changed files with 182 additions and 134 deletions

View File

@@ -10,6 +10,6 @@ from analysis.views import *
app_name = "analysis"
urlpatterns = [
path("reports/", index_reports_view, name="reports"),
path("reports/<id>", detail_report_view, name="report-detail"),
path("reports/", ReportIndexView.as_view(), name="reports"),
path("reports/<id>", ReportDetailView.as_view(), name="report-detail"),
]