geex-arts/django-jet

fullname() missing 1 required positional argument: 'self'

TrungKien1230 opened this issue · 1 comments

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:
image

Can I work on this