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 0x2b7c64cbf3b0: -v/--verbosity>, <Option at 0x2b7c64cbf4d0: --settings>, <Option at 0x2b7c64cbf518: --pythonpath>, <Option at 0x2b7c64cbf560: --traceback>, <Option at 0x2b7c64cbf5f0: --no-color>, <Option at 0x2b7c695d9c68: --template>, <Option at 0x2b7c695d9ab8: -e/--extension>, <Option at 0x2b7c695d9950: -n/--name>, <Option at 0x2b7c696030e0: -d/--dashboard>, <Option at 0x2b7c69603b48: --target>)
template = '/build/horizon-0Cvhna/horizon-8.0.1/horizon/conf/panel_template'