autowisp.browser_interface.diagnostics.admin module

Class Inheritance Diagram

Inheritance diagram of DiagnosticExpression, DiagnosticExpressionAdmin

Admin registration for the diagnostics app.

class autowisp.browser_interface.diagnostics.admin.DiagnosticExpressionAdmin(model, admin_site)[source]

Bases: ModelAdmin

Inheritance diagram of autowisp.browser_interface.diagnostics.admin.DiagnosticExpressionAdmin

Inspect and repair expressions without going through the app.

The management page is where expressions are meant to be edited, since it validates them against the open project. This is the fallback for when that is what needs fixing.

list_display = ('name', 'expression', 'modified')
property media
readonly_fields = ('created', 'modified')
search_fields = ('name', 'expression', 'description')