wagtail-external-menu-items
Add external links to Wagtail Dashboard Menu
Installation 📦
From PyPi repository:
pip install wagtail-external-menu-items
From source code:
git clone https://github.com/spamz23/wagtail-external-menu-items.git
virtualenv venv
./venv/scripts/activate
pip install -r requirements.txt
Quickstart
- Add
wagtail_external_menu_itemsto yourINSTALLED_APPSinside Django settings:
INSTALLED_APPS = (
# ...
'wagtail_external_menu_items',
)
- Add some configuration settings (inside your Django configs):
# ...
WAGTAIL_EXTERNAL_MENU_ITEMS={
# A list of dicts, where each dict is a item (button) to add to the dashboard
"items": [
{
"label": "Sentry Logs", # The name of the button
"url": "https://sentry.io/organizations/your-organization", # The external link
"classnames": "icon icon-fa-book", # Any classname, in this case we assign a font awesome icon (must have fontawesome installed)
}
],
"order": 1000 # Optional! The starting order for the items
}
That's all the configuration needed!
Contributing
All pull requests are welcome! Feel free to contribute with any bug fix or new feature!
Metadata
Release files for wagtail-external-menu-items 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| wagtail-external-menu-items-0.1.2.tar.gz | 3.9 kB | Without provenance | Details for wagtail-external-menu-items-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| wagtail_external_menu_items-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for wagtail_external_menu_items-0.1.2-py3-none-any.whl |
Total release size: 9.0 kB
Security for wagtail-external-menu-items 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.