django-jet icon indicating copy to clipboard operation
django-jet copied to clipboard

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

Open TrungKien1230 opened this issue 4 years ago • 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

TrungKien1230 avatar Apr 30 '20 10:04 TrungKien1230

Can I work on this

harshakhmk avatar May 25 '21 16:05 harshakhmk