Skip to main content
django-admin-highcharts/README.rst
=====
admin-highcharts
=====

help to add highcharts in django admin

Detailed documentation is in the "docs" directory.

Quick start
-----------

1. Add "admin_highcharts" to your INSTALLED_APPS setting like this::

INSTALLED_APPS = (
...
'admin_highcharts',
)
2. add highchart to admin your app model,for example::

your model defined(models.py)
class MyStats(models.Model):
stats_date = models.DateField()
pv = models.IntegerField()
uv = models.IntegerField()

admin your model(admins.py)
from django.contrib import admin
from .models import MyStats
from admin_highcharts.admin import HighchartsModelAdmin
admin.site.register(MyStats,HighchartsModelAdmin,list_display=('stats_date','pv','uv'))

3. advance method in HighchartsModelAdmin::

chart_category_name:
default -> the first elem in list_display,you can set manual
chart_serial_names:
default -> list_display exclude chart_category_name,you can set manual
chart_type:
default -> line
options: line,column,area,areaspline,spline,
for example:
admin.site.register(MyStats,HighchartsModelAdmin,list_display=('pv','uv','stats_date'),chart_serial_names=('uv',))
or
@admin.register(MyStats)
class MyStatsAdmin(HighchartsModelAdmin):
list_display=('pv','uv','stats_date')
chart_serial_names=('uv',)

Metadata

Release files for django-admin-highcharts 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-admin-highcharts 0.1.1
File Size Uploaded Provenance Actions
django-admin-highcharts-0.1.1.tar.gz 148.5 kB Without provenance Details for django-admin-highcharts-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-admin-highcharts 0.1.1
File Interpreter ABI Platform Actions
django_admin_highcharts-0.1.1-py2.7.egg Legacy Egg format - - Details for django_admin_highcharts-0.1.1-py2.7.egg

Total release size: 303.5 kB

Release files / django-admin-highcharts-0.1.1.tar.gz

Download URL django-admin-highcharts-0.1.1.tar.gz
Size 148.5 kB
Tags Source
SHA-256 checksum
How to use checksums
aba863978e24af441e528b6aba4bfbe66bb07a71079b446840784e4c4396690f
BLAKE2b-256 checksum
How to use checksums
23da83d358b89ae9abb94219fddc03df2e7ce8cb57bf512b939c1218d45440f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django_admin_highcharts-0.1.1-py2.7.egg

Download URL django_admin_highcharts-0.1.1-py2.7.egg
Size 155.0 kB
Tags Egg
SHA-256 checksum
How to use checksums
3e68fc48c649f7f1c19da6dfa9870e9900791d0ba5e3f24c93b8e89e042573e4
BLAKE2b-256 checksum
How to use checksums
55ed777b5fba454c137321a9bb2328d58bb37453f26c2a7cea5a6388083dfaee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-admin-highcharts 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

0.1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page