django-jet
django-jet copied to clipboard
fullname() missing 1 required positional argument: 'self'
Hello, I am trying to create a chart in dashboard, I test my code with simple code like this:
In module_chart.py
class ModuleChart(DashboardModule): """ Create Chart in Dashboard""" template = 'admin/dashboard/module_chart.html' title = 'KPI chart'
In dashboard.py: class CustomIndexDashboard(Dashboard): columns = 4 def init_with_context(self, context): .... self.children.append(ModuleChart)
But I have this error:
Can I work on this