Note: An updated version with Python3/Django3+ support maintained by wickeym can be installed by doing pip install django3-dashing
django-dashing is a customisable, modular dashboard application framework for Django to visualize interesting data about your project. Inspired in the exceptionally handsome dashboard framework Dashing
$ pip install django-dashing
INSTALLED_APPS
of the your projects.INSTALLED_APPS = ( ... 'dashing', )
from dashing.utils import router ... url(r'^dashboard/', include(router.urls)),
To make your own dashboard and retrieves the data from django you should:
from django.conf.urls import url, include from dashing.utils import router from project.dashboard.widgets import CustomWidget router.register(CustomWidget, 'custom_widget') urlpatterns = [ url(r'^dashboard/', include(router.urls)), ]
Create a dashing-config.js file with a widget that retrive the data in your static directory like:
var myDashboard = new Dashboard(); myDashboard.addWidget('customWidget', 'Number', { getData: function () { var self = this; Dashing.utils.get('custom_widget', function(data) { $.extend(self.scope, data); }); }, interval: 3000 });
Also if you want to locate the config file in a different directory you can create a dashing/dashboard.html file in your TEMPLATE_DIRS and replace the config_file block to the route of your javascript config file, see the docs.
Install dependencies.
$ npm install $ pip install -r requirements.txt
Run tests.
$ npm test
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4