How to add a custom widget to django-jet admin panel with custom dashboard?
here's a step-by-step tutorial for adding a custom widget named TotalOrders to the Django-jet admin panel with a custom dashboard:
First, make sure that you have installed the Django-jet library by running pip install django-jet.
Next, create a Dja...
computergeeks.hashnode.dev3 min read
Hariram Ale Magar
Although the tutorial appears to be helpful, the offered instructions do not apply to my situation because I am using Django 4.1.5, Django-jet 1.0.8, and Django-jet-reboot 1.3.3. Please assist me in integrating a custom dashboard into Django 4.1.5.
Django Version: 4.1.5 Exception Type: TypeError Exception Value:
'NoneType' object is not callable Exception Location: /usr/local/lib/python3.10/site-packages/jet/dashboard/templatetags/jet_dashboard_tags.py, line 15, in get_dashboard Raised during: django.contrib.admin.sites.index Python Executable: /usr/local/bin/python