Skip to main content

Django Chartbuilder

A simple Django application for integrating Chartbuilder.

Install

pip install django_chartbuilder

Quick start

  1. Add django_chartbuilder to your INSTALLED_APPS setting:

    INSTALLED_APPS = (
        ...
        'django_chartbuilder',
    )
  2. Include the django-chartbuilder URLconf in your project urls.py:

    url(r'^/chartbuilder/$', include('django_chartbuilder.urls')),
  3. Navigate to /chartbuilder/ to get the default styled Chartbuilder chart generator (i.e. identical to http://quartz.github.io/Chartbuilder/)

Customization

You can extend the chartbuilder.html template to customize the chart generator.

In your project’s templates/django_chartbuilder/ directory, create a template chartbuilder.html and extend djangno_chartbuilder/index.html:

<!-- templates/django_chartbuilder/chartbuilder.html -->
{% extends "django_chartbuilder/index.html" %}

{% block title %}My Custom Chartbuilder Generator{% endblock %}

{% block extrajs %}
    <script src="some_random_script.js"></script>
{% endblock %}

Take a look at django_chartbuilder/templates/django_chartbuilder/index.html to find out (a lot of) additional sections you can override.

License

MIT

Metadata

Release files for django-chartbuilder 0.3

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-chartbuilder 0.3
File Size Uploaded Provenance
django-chartbuilder-0.3.tar.gz 8.6 MB Without provenance Details

Release files / django-chartbuilder-0.3.tar.gz

Download URL django-chartbuilder-0.3.tar.gz
Size 8.6 MB
Tags Source
SHA-256 checksum
How to use checksums
31fdf2d7f9338de733d85417a0b7fc66e6177b5965cca8b60dabe41fd1e33ac5
BLAKE2b-256 checksum
How to use checksums
8526dd83ed3999479aa47747022c536e73df1cae819e4b0a1d9e820678b03a5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-chartbuilder 0.3

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.

Release history Release notifications | RSS feed

This release

0.3 This release

1 release file No provenance

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