cyphon.dashboard¶
This file was generated with the customdashboard management command and contains the class for the main dashboard.
- To activate your index dashboard add the following to your settings.py:
- GRAPPELLI_INDEX_DASHBOARD = ‘cyphon.dashboard.CustomIndexDashboard’
-
class
cyphon.dashboard.CyphonIndexDashboard(**kwargs)[source]¶ Bases:
grappelli.dashboard.dashboards.DashboardCustom index dashboard.
-
init_with_context(context)[source]¶ Sometimes you may need to access context or request variables to build your dashboard, this is what the
init_with_context()method is for. This method is called just before the display with adjango.template.RequestContextas unique argument, so you can access to all context variables and to thedjango.http.HttpRequest.
-
media¶
-