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. Registration is conditional on the
ENABLE_DASHBOARD_PASSTHROUGH_PROMPT 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
const.namespace.- Type:
- smarter.apps.dashboard.views.passthrough.urls.urlpatterns
The list of URL patterns registered for this app. Empty when
smarter_settings.enable_dashboard_passthrough_promptisFalse.- 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 include, path
urlpatterns = [
path("passthrough/", include("smarter.apps.dashboard.views.passthrough.urls")),
]