Skip to main content

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

  1. Add wagtail_external_menu_items to your INSTALLED_APPS inside Django settings:
INSTALLED_APPS = (
    # ...
    'wagtail_external_menu_items',
)
  1. 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! In which ways you can provide your awesome contribution?

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wagtail-external-menu-items-0.1.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file wagtail-external-menu-items-0.1.0.tar.gz.

File metadata

  • Download URL: wagtail-external-menu-items-0.1.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for wagtail-external-menu-items-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5ae04a259d8efb142da20fb54b85d8c798cb942774edabceb37e4885a7ec189a
MD5 7e779891008ce8ae75c615cf9fbeec73
BLAKE2b-256 0e8c9a09faccd3f9961bb48ff71eb65b00649d22c35dc1c3eff8ae7226aca22c

See more details on using hashes here.

File details

Details for the file wagtail_external_menu_items-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: wagtail_external_menu_items-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for wagtail_external_menu_items-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f35206354be3f1b19de6665f2216c7f9e258af852a78d7fb3083b6a782d43ce0
MD5 a7f0ef8aab6946c11c0f02bfbab5c4c8
BLAKE2b-256 ac9080d6ab011fc1e17923c805bfc43b905cf0592ca07c1b1221d6cbb958d46c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page