Skip to main content

Simple Horizon plugin which solves plugin overrides hell !

Problem

Horizon supports only one overrides.py file. But if you have more than one plugin with overrides.py maybe you want include all overrides.py files.

Require

  • Python 2.6 +

  • Openstack Dashboard Icehouse +

Installation notes

pip install horizon-overrides-plugin
INSTALLED_APPS += ('horizon_overrides',)

HORIZON_CONFIG['customization_module'] = 'horizon_overrides.overrides'

Usage

  • all overrides.py files will be included in defeault state

  • you can specify OVERRIDES = [‘my_plugin’,’my_second_plugin.overrides’, ‘another_plugin.will_be_overrides’] in settings.py which restrict includes

OVERRIDES = ['my_plugin','my_second_plugin.overrides', 'another_plugin.will_be_overrides']

NOTE: all plugins must be in the INSTALLED_APPS tuple

Full example config

INSTALLED_APPS = (
    "horizon_overrides",
    "horizon_telemetry",
    "horizon_monitoring",
    "horizon_billing",
)

HORIZON_CONFIG['customization_module'] = 'horizon_overrides.overrides'

OVERRIDES = (
    "horizon_telemetry.overrides",
    "horizon_monitoring",
    "horizon_billing.another_name_for_override_file",
)

Read more

Metadata

Release files for horizon_overrides_plugin 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for horizon_overrides_plugin 0.0.2
File Size Uploaded
horizon_overrides_plugin-0.0.2.tar.gz 2.9 kB Details

Release files / horizon_overrides_plugin-0.0.2.tar.gz

Download URL horizon_overrides_plugin-0.0.2.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
0f744c98844e2f604383138bfbc3dede1b73f2d19b9a1691900faead79e26ec4
BLAKE2b-256 checksum
How to use checksums
94c7a79b947a8a6008e64496d33d427bdc6cc57b399bdd1036d198605939b86b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file

0.0.1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page