Connection Views

The manifest pages of an ApiConnection and of an SqlConnection, which the single-page console serves (ADR-035).

The pages are /connection/connections/api-connection/<hashed id>/ and /connection/connections/sql-connection/<hashed id>/. The console shows the resource’s manifest in the manifest editor, from the dashboard’s resource api, smarter.apps.dashboard.resource_detail, which finds it by its record locator if the user may read it. The pages keep their view classes and url names, which smarter.lib.manifest.record_locator.console_paths() reverses.

class smarter.apps.connection.views.detailview.ApiConnectionDetailView(**kwargs)[source]

Bases: ConsoleAppView

An ApiConnection’s manifest page: the single-page console’s, at the path that Django served it at.

class smarter.apps.connection.views.detailview.SqlConnectionDetailView(**kwargs)[source]

Bases: ConsoleAppView

An SqlConnection’s manifest page: the single-page console’s, at the path that Django served it at.