Dashboard Passthrough View URLs
URL configuration for the Dashboard app’s passthrough views.
This module registers URL patterns for the prompt passthrough sub-application
of the dashboard. Its api, the providers list, is in the web console’s api, at
/api/web/dashboard/passthrough/: see api.urls. Registration is conditional on the
SMARTER_APP_DASHBOARD_PASSTHROUGH_PROMPT_ENABLE setting: when disabled, no routes are
registered and an informational log message is emitted.
- smarter.apps.dashboard.views.passthrough.urls.app_name
The Django application namespace, taken from
namespace.- Type:
- smarter.apps.dashboard.views.passthrough.urls.urlpatterns
The list of URL patterns registered for this app. Empty when
smarter_settings.app_dashboard_passthrough_prompt_enableisFalse.- Type:
- Classes:
- PassthroughReverseNames: Convenience class that centralises the
reverse()name strings used by this URL configuration.
Example
Include these URLs from a parent URL configuration:
from django.urls import path
urlpatterns = [
path("passthrough/", include("smarter.apps.dashboard.views.passthrough.urls")),
]