/django-suit-dashboard

Create a dashboard within Django admin interface.

Primary LanguagePythonISC LicenseISC

Django Suit Dashboard

>:warning: Not maintained!

This project is not maintained anymore.

The reason is that it never got many users (based on Libraries.io and GitHub data), maybe because the docs were hard to read.

I'm also not happy with it: it mixes many languages at once with a deep layered architecture. That's not easy to play with.

Anyway, if you want to take over maintainership, drop me a message at pawamoy@pm.me, I can transfer the project or add contributors.

Travis-CI Build Status Codacy Code Quality Status Codacy Code Coverage PyPI Package latest release PyPI Wheel Updates Join the chat at https://gitter.im/Pawamoy/django-suit-dashboard

Create a dashboard within Django admin interface.

This application was originally designed to work within Django Suit (hence the name), but it is now decoupled from it, you can use it without Suit.

Here is a quick explanation of how it works:

  • you write a base template to add CSS/JavaScript libraries (optional)
  • you write a custom AdminSite to override default URLs and/or add others
  • you write the corresponding views, inheriting from DashboardView
  • each view render the base template (or an extended one) with a grid in the context (layout of rows and columns)
  • columns can contain boxes of content (visual separation on the page)
  • boxes can contain widgets, for which you write the HTML/CSS/JS

So basically django-suit-dashboard does not do much, it just provides a way to create a dashboard in admin interface without touching too much to HTML (which not everyone will approve).

Screenshot

Screenshot

License

Software licensed under ISC license.

Installation

pip install django-suit-dashboard

Documentation

On ReadTheDocs

Demo project

Follow these instructions to run the demo locally:

git clone https://github.com/Pawamoy/suit-dashboard-demo
cd suit-dashboard-demo
./install.sh
^C (Ctrl-c)
./run.sh [with-suit]  # any non-empty arg will do

Connect to the admin interface with your system username and password admin_password.

Don't hesitate to send me Pull Requests to share your boxes and widgets, I will add them into the demo pages!

Applications using Suit-Dashboard

Here is a list of Django Apps using Suit-Dashboard. You might find some interesting ways of using it.

Development

To run all the tests: tox