Fix templated dashboard Dash import compatibility\n\n- Fixed obsolete dash_html_components import in template_renderer.py\n- Changed from 'import dash_html_components as html' to 'from dash import html, dcc'\n- Templated dashboard now starts successfully on port 8051\n- Compatible with modern Dash versions where html/dcc components are in dash package\n- Template-based MVC architecture is now fully functional
This commit is contained in:
@ -5,8 +5,7 @@ Handles HTML template rendering with Jinja2
|
||||
import os
|
||||
from typing import Dict, Any
|
||||
from jinja2 import Environment, FileSystemLoader, select_autoescape
|
||||
import dash_html_components as html
|
||||
from dash import dcc
|
||||
from dash import html, dcc
|
||||
import plotly.graph_objects as go
|
||||
|
||||
from .dashboard_model import DashboardModel, DashboardDataBuilder
|
||||
|
Reference in New Issue
Block a user