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 0x2ba46a382248: -v/--verbosity>, <Option at 0x2ba46a382368: --settings>, <Option at 0x2ba46a3823b0: --pythonpath>, <Option at 0x2ba46a3823f8: --traceback>, <Option at 0x2ba46a382488: --no-color>, <Option at 0x2ba46ec16e18: --template>, <Option at 0x2ba46ebe9248: -e/--extension>, <Option at 0x2ba46ebe93b0: -n/--name>, <Option at 0x2ba46ec19ea8: -d/--dashboard>, <Option at 0x2ba46ec19518: --target>)
template = '/build/horizon-TFAFLW/horizon-8.0.1/horizon/conf/panel_template'