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 0x2b77f83f7248: -v/--verbosity>, <Option at 0x2b77f83f7368: --settings>, <Option at 0x2b77f83f73b0: --pythonpath>, <Option at 0x2b77f83f73f8: --traceback>, <Option at 0x2b77f83f7488: --no-color>, <Option at 0x2b77fcc48200: --template>, <Option at 0x2b77fcc48128: -e/--extension>, <Option at 0x2b77fcbe85a8: -n/--name>, <Option at 0x2b77fcc15560: -d/--dashboard>, <Option at 0x2b77fcc152d8: --target>)
template = '/build/horizon-lBl8tn/horizon-8.0.1/horizon/conf/panel_template'