blob: 9e435bef37f03dc86a2451ed7f650a78212b4fb5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
from django.utils.translation import ugettext_lazy as _
import horizon
class {{ dash_name|title }}(horizon.Dashboard):
name = _("{{ dash_name|title }}")
slug = "{{ dash_name|slugify }}"
panels = () # Add your panels here.
default_panel = '' # Specify the slug of the dashboard's default panel.
horizon.register({{ dash_name|title }})
|