- Implemented custom form widgets for date, time, and datetime fields with DaisyUI styling. - Created utility functions for formatting dates, times, and numbers according to user preferences. - Developed views for profile settings, API key management, and notifications, including health check endpoints. - Added URL configurations for Themis tests and main application routes. - Established test cases for custom widgets to ensure proper functionality and integration. - Defined project metadata and dependencies in pyproject.toml for package management.
29 lines
1.0 KiB
Python
29 lines
1.0 KiB
Python
"""
|
|
URL patterns for LLM Manager — FBVs per Red Panda Standards.
|
|
"""
|
|
|
|
from django.urls import path
|
|
|
|
from . import views
|
|
|
|
app_name = "llm_manager"
|
|
|
|
urlpatterns = [
|
|
path("", views.dashboard, name="dashboard"),
|
|
# APIs
|
|
path("apis/", views.api_list, name="api_list"),
|
|
path("apis/create/", views.api_create, name="api_create"),
|
|
path("apis/<uuid:pk>/", views.api_detail, name="api_detail"),
|
|
path("apis/<uuid:pk>/edit/", views.api_edit, name="api_edit"),
|
|
path("apis/<uuid:pk>/delete/", views.api_delete, name="api_delete"),
|
|
path("apis/<uuid:pk>/test/", views.api_test, name="api_test"),
|
|
# Models
|
|
path("models/", views.model_list, name="model_list"),
|
|
path("models/create/", views.model_create, name="model_create"),
|
|
path("models/<uuid:pk>/", views.model_detail, name="model_detail"),
|
|
path("models/<uuid:pk>/edit/", views.model_edit, name="model_edit"),
|
|
path("models/<uuid:pk>/delete/", views.model_delete, name="model_delete"),
|
|
# Usage
|
|
path("usage/", views.usage_list, name="usage_list"),
|
|
]
|