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
302 B
Cheetah

from django.utils.translation import ugettext_lazy as _
import horizon
from {{ dash_path }} import dashboard
class {{ panel_name|title }}(horizon.Panel):
name = _("{{ panel_name|title }}")
slug = "{{ panel_name|slugify }}"
dashboard.{{ dash_name|title }}.register({{ panel_name|title }})