fullname() missing 1 required positional argument: 'self'
TrungKien1230 opened this issue · 1 comments
TrungKien1230 commented
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)
harshakhmk commented
Can I work on this