Re: [Openstack] register a new panel in overrides.py

2013-03-20 Thread Wyllys Ingersoll
>> First, edit the overrides.py file: (e.g., if we wanted to add the panel to >>> the admin dashboard so this uses the admin dashboard slug: 'admin') >>> >>> import horizon >>> from path_to_module.panel import YourNewPanelClass >>> >>

Re: [Openstack] register a new panel in overrides.py

2013-03-20 Thread Wyllys Ingersoll
e your overrides.py file is being called in your settings.py >> >> HORIZON_CONFIG = { >> dashboards = ('project', 'admin','settings'), >> ..., >> 'customization_module': 'your_base_module.overrides' >>

Re: [Openstack] register a new panel in overrides.py

2013-03-20 Thread Lyle, David (Cloud Services)
dule': 'your_base_module.overrides' > } > > -Dave > > -Original Message- > From: openstack-bounces+david.lyle=hp....@lists.launchpad.net > [mailto:openstack-bounces+david.lyle=hp@lists.launchpad.net] On Behalf Of > Wyllys Ingersoll > Sent: Wednesday, March

Re: [Openstack] register a new panel in overrides.py

2013-03-20 Thread Wyllys Ingersoll
ge- > From: openstack-bounces+david.lyle=hp....@lists.launchpad.net > [mailto:openstack-bounces+david.lyle=hp@lists.launchpad.net] On Behalf Of > Wyllys Ingersoll > Sent: Wednesday, March 20, 2013 9:50 AM > To: openstack@lists.launchpad.net > Subject: [Opens

Re: [Openstack] register a new panel in overrides.py

2013-03-20 Thread Lyle, David (Cloud Services)
customization_module': 'your_base_module.overrides' } -Dave -Original Message- From: openstack-bounces+david.lyle=hp@lists.launchpad.net [mailto:openstack-bounces+david.lyle=hp@lists.launchpad.net] On Behalf Of Wyllys Ingersoll Sent: Wednesday, March 20, 2013 9:50 AM

[Openstack] register a new panel in overrides.py

2013-03-20 Thread Wyllys Ingersoll
Can someone give a pointer to how one goes about adding a new panel to an existing panel using overrides.py ? I know my panel is working because if I hardcode it into an existing dashboard.py file, it is found and displayed. I'd prefer to put it in overrides.py instead and am wondering how th