Leonardo leonardo-admin-dashboard
Admin dashboard for Leonardo CMS built on django-jet. Support custom menu and easy extending with auto registering of new widgets.
Installation
pip install leonardo-admin-dashboard
Configuration
This module requires dashboard_menu item in LEONARDO_CONF_SPEC:
LEONARDO_CONF_SPEC = {
'dashboard_menu': []
}
Optionaly you can add dashboard widgets:
LEONARDO_CONF_SPEC = {
'dashboard_widgets_available': [],
'dashboard_widgets': []
}
Usage
Add your menu items into dashboard_menu array as string path to your menu:
dashboard_menu = ['leonardo_store.menu.store_menu']
For menu items use modules from leonardo_admin_dashboard.modules:
from leonardo_admin_dashboard import modules
store_menu = modules.SubMenuLinkList(
_('Store'),
children=[{
'title': 'Catalogue',
'url': reverse('catalogue'),
'external': False,
'icon': 'icon-book'
}],
)
For more examples see menu.py or visit django-admin-tools and django-jet documentations.
Read More
Metadata
Release files for leonardo-admin-dashboard 0.0.3
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 | |
|---|---|---|---|---|
| leonardo-admin-dashboard-0.0.3.tar.gz | 51.2 kB | Without provenance | Details |
Release files / leonardo-admin-dashboard-0.0.3.tar.gz
| Download URL | leonardo-admin-dashboard-0.0.3.tar.gz |
|---|---|
| Size | 51.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b016c700f998d2b11d465899442db83c93248247d57f249ebbc576dd95d6d904
|
|
BLAKE2b-256 checksum How to use checksums |
a7ef865cdae07ff7c4e14605026683a887305cca80692f22ca1dcf055cf2e419
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for leonardo-admin-dashboard 0.0.3
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.