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.Dashboard

Custom 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 a django.template.RequestContext as unique argument, so you can access to all context variables and to the django.http.HttpRequest.

media