Add external links to Wagtail Dashboard Menu
Project description
wagtail-external-menu-items
Add external links to Wagtail Dashboard Menu
Installation :package:
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!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters