Logs URL Patterns

URL configuration for the dashboard logs views.

This module registers URL patterns for the server logs sub-application of the dashboard. Registration is conditional on the SMARTER_ENABLE_DASHBOARD_SERVER_LOGS setting: when disabled, no routes are registered and an informational log message is emitted.

smarter.apps.dashboard.views.terminal_emulator.urls.app_name

The Django application namespace, taken from const.namespace.

Type:

str

smarter.apps.dashboard.views.terminal_emulator.urls.urlpatterns

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

Type:

list

URL patterns (when enabled):

Example

Include these URLs from a parent URL configuration:

from django.urls import include, path

urlpatterns = [
    path("logs/", include("smarter.apps.dashboard.views.terminal_emulator.urls")),
]