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:

str

smarter.apps.dashboard.views.passthrough.urls.urlpatterns

The list of URL patterns registered for this app. Empty when smarter_settings.enable_dashboard_passthrough_prompt is False.

Type:

list

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")),
]
class smarter.apps.dashboard.views.passthrough.urls.PassthroughReverseNames[source]

Bases: object

A class to hold the namespace for the passthrough views in the dashboard app.

namespace = 'passthrough'
view = 'prompt_passthrough_view'