old_console/license_info/urls.py
2024-11-02 14:12:45 +03:00

11 lines
536 B
Python

from django.urls import path
from license_info.views import LicenseTokenAPIView, LicenseActivateAutoAPIView, LicenseActivateManualAPIView, \
LicenseInfoAPIView
urlpatterns = [
path('', LicenseInfoAPIView.as_view(), name='LicenseInfoAPIView'),
path('token/<uuid:serial>/', LicenseTokenAPIView.as_view(), name='license_token'),
path('auto/<uuid:serial>/', LicenseActivateAutoAPIView.as_view(), name='license_activate_auto'),
path('manual/', LicenseActivateManualAPIView.as_view(), name='license_activate_manual'),
]