Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Simple Django Admin replacement for Leonardo CMS, built on django-admin-tools and django-jet.

Project Description

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.

Release History

Release History

This version
History Node

0.0.3

History Node

0.0.3.dev1

History Node

0.0.1.dev13

History Node

0.0.1.dev7

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
leonardo-admin-dashboard-0.0.3.tar.gz (51.2 kB) Copy SHA256 Checksum SHA256 Source Jan 15, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting