Skip to content

synw/django-chartmodels

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Chartmodels

Charts and stats for Django models using Django Chartflo. Features:

  • Chart all apps models
  • Chart one app models

Install

Clone the latest django-chartflo master and install it

Clone this repository and install dependencies: pip install django-introspection goerr blessings

Installed apps:

"introspection",
"chartflo",
"chartmodels",

Urls:

url('^charts/', include('chartmodels.urls')),

Generate the charts:

python3 manage.py gen chartmodels

To generate the users dashboard:

python3 manage.py gen chartmodels.users

Go to /charts/ to see it in action. For the users dashboard go to /charts/users/

Setting to excude certain models from the charts:

CHARTMODELS_EXCLUDE = ("admin", "mymodel1", "mymodel2")

Screenshot

Models chart