>> 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
>>>
>>
e your overrides.py file is being called in your settings.py
>>
>> HORIZON_CONFIG = {
>> dashboards = ('project', 'admin','settings'),
>> ...,
>> 'customization_module': 'your_base_module.overrides'
>>
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
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
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
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
6 matches
Mail list logo