feat: add legacy device migration flow
This commit is contained in:
@@ -5,8 +5,11 @@ from .views import (
|
||||
ApiKeyDeleteView,
|
||||
ApiKeyListCreateView,
|
||||
DashboardView,
|
||||
DeviceCredentialListView,
|
||||
DeviceCredentialRevokeView,
|
||||
HomeView,
|
||||
ModelCatalogView,
|
||||
MigrationConfirmView,
|
||||
RechargePageView,
|
||||
RechargeRecordListView,
|
||||
UsageRecordListView,
|
||||
@@ -22,6 +25,17 @@ urlpatterns = [
|
||||
path("apikeys/<int:pk>/delete", ApiKeyDeleteView.as_view(), name="portal-apikey-delete"),
|
||||
path("models", ModelCatalogView.as_view(), name="portal-models"),
|
||||
path("recharge", RechargePageView.as_view(), name="portal-recharge"),
|
||||
path(
|
||||
"migration/confirm/<uuid:request_id>",
|
||||
MigrationConfirmView.as_view(),
|
||||
name="portal-migration-confirm",
|
||||
),
|
||||
path("migration/devices", DeviceCredentialListView.as_view(), name="portal-device-credentials"),
|
||||
path(
|
||||
"migration/credentials/<int:pk>/revoke",
|
||||
DeviceCredentialRevokeView.as_view(),
|
||||
name="portal-device-credential-revoke",
|
||||
),
|
||||
path("records/recharge", RechargeRecordListView.as_view(), name="portal-recharge-records"),
|
||||
path("records/usage", UsageRecordListView.as_view(), name="portal-usage-records"),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user