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:
- smarter.apps.dashboard.views.terminal_emulator.urls.urlpatterns
The list of URL patterns registered for this app. Empty when
smarter_settings.enable_dashboard_server_logsisFalse.- Type:
URL patterns (when enabled):
""—TerminalEmulatorLogView(name:DashboardLogsReverseNames.terminal_emulator_view)"api/"— included fromapi.urls(namespace:api_urls.app_name)
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")),
]