RadiantHex
RadiantHex

Reputation: 25547

Defining ways to visualise admin fields - Django

I'm trying to add graphs to the admin interface, problem is that I have not found any documentation regarding this.

I'm sure there are generally accepted ways of customizing the way fields are displayed, and I do not wish to follow any problematic route.


Any ideas?


Edit:

this is a model I'm trying to reproduce!

Unicorn: name, horn length (cm), daily grass grazed (sparkline), average speed (m/s)

daily grass grazed is a OneToManyField

and this is what I mean by sparkline alt text

Upvotes: 2

Views: 705

Answers (2)

raman
raman

Reputation: 761

Here's an example of using Highcharts via the Django admin:

http://blogs.law.harvard.edu/rprasad/2011/08/30/highcharts-django-admin/

Upvotes: 2

Davor Lucic
Davor Lucic

Reputation: 29390

Django does not have built in report/graph libraries as far as i know so you should use 3rd party library for generating graphs and customize your admin interface.

See this SO question too.

Upvotes: 0

Related Questions