horizon/horizon/conf/dash_template/dashboard.py.tmpl
Gabriel Hurley 1de3b24ed9 Allow setup.py bdist to complete happily.
Fixes bug 1002551.

Change-Id: Ied984f020a6ae97375824fbc1297739db032ed0b
2012-05-21 15:42:26 -07:00

14 lines
357 B
Cheetah

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 }})