Package: django-controlcenter
Get all your project models on one single page with charts and whistles.Attention!Unfortunately, I have no time to add new features.
Please make PR if you need one:branch from masterprovide testsadd docsupdate changelogThat’s it.RationaleDjango-adminis a great tool to control your project activity: new orders, comments, replies, users, feedback – everything is here. The only struggle is to switch between all those pages constantly just to check them out for new entries.With django-controlcenter you can have all of your models on one single page and build beautiful charts withChartist.js. Actually they don’t even have to be a django models, get your data from wherever you want: RDBMS, NOSQL, text file or even from an external web-page, it doesn’t matter.QuickstartInstall django-controlcenter:pip install -U django-controlcenterCreate a dashboard file with unlimited number of widgets and dashboards:fromcontrolcenterimportDashboard,widgetsfromproject.app.modelsimportModelclassModelItemList(widgets.ItemList):model=Modellist_display=('pk','field')classMyDashboard(Dashboard):widgets=(ModelItemList,)Update settings file:INSTALLED_APPS=[...'controlcenter',...]CONTROLCENTER_DASHBOARDS=(('mydash','project.dashboards.MyDashboard'),)Plug in urls:fromdjango.urlsimportpathfromdjango.contribimportadminfromcontrolcenter.viewsimportcontrolcenterurlpatterns=[path('admin/dashboard/',controlcenter.urls),path('admin/',admin.site.urls),...]Open/admin/dashboard/mydash/in browser.DocumentationCheck out thedocsfor more complete examples.CompatibilityTested on py 3.5—3.10 and django 1—4.CreditsThis project usesChartist.js,Masonry.jsandSortable.js.Changelog0.3.2Automatically redirect the main app url to the first dashboard. Thanks to @fabiocaccamo.0.3.1Support django 4.0, python 3.10. Thanks to @mick88.Fixed LineChart example. Thanks to @virtosubogdan.0.3.0Support django 3.0Python 3 only0.2.9chartist-plugin-pointlabelstemporary fixAdded sorting triangles toItemListItemListheader is now always displayed regardless sortabilityOther misc improvementsThanks to @minusf.0.2.8Fixedkey_value_list.htmlwidget template syntax error.Fixed attribute typowidget.chartist.point_labels->point_lables.Thanks to @minusf.0.2.7NewTimeSeriesChartwidget. Thanks to @pjdelport.New “simple” widgets:ValueListandKeyValueList. Thanks to @tonysyu.Bunch of fixes and improvements, thanks again to @pjdelport.0.2.6Fixed navigation menu links, thanks to @editorgit0.2.5It’s now possible to use slugs for dashboards instead of those indexes inCONTROLCENTER_DASHBOARDS.
The old behaviour is supported too.0.2.4It’s compatible with django 1.8—2.1 nowCustom app name can be passed toControlCenterclass0.2.3Updated column grid, thanks to @pauloxnet.Grammar fixes, thanks to @danielquinn.It’s should be possible now to use a custom dashboard view with a custom template.0.2.2dashboard.htmlnow extendsadmin/base_site.htmlinstead ofadmin/base.htmlin order to displaybrandingblock. Thanks to @chadgh.Updatedjsonifytag filter, thanks to @k8n.0.2.1Django 1.10 support. Tested in toxonly.Updated the SingleBarChart example, thanks to @greeve.0.2.0Unlimited dashboards support.Configuration constructor is moved to a separate project –django-pkgconf. It’s a dependency now.0.1.2Chartiseries color fix. Thanks to @uncleNight.Docs. Finally.0.1.1Better responsive experience.0.1.0First public release.