The horizon.management.commands.startpanel ModuleΒΆ

class horizon.management.commands.startpanel.Command[source]

Bases: django.core.management.templates.TemplateCommand

args = '[name] [dashboard name] [optional destination directory]'
handle(panel_name=None, **options)[source]
help = 'Creates a Django app directory structure for a new panel with the given name in the current directory or optionally in the given directory.'
option_list = (<Option at 0x7f02544b9368: -v/--verbosity>, <Option at 0x7f02544b9488: --settings>, <Option at 0x7f02544b94d0: --pythonpath>, <Option at 0x7f02544b9518: --traceback>, <Option at 0x7f02544b95a8: --no-color>, <Option at 0x7f024f46bc68: --template>, <Option at 0x7f024f46b758: -e/--extension>, <Option at 0x7f024f46bb90: -n/--name>, <Option at 0x7f024f50a320: -d/--dashboard>, <Option at 0x7f024f567710: --target>)
template = '/build/horizon-E3QI9J/horizon-8.0.0/horizon/conf/panel_template'