Skip to main content

Django application that lets you create reports

Project description

Autoreports

Autoreports is a Django application that lets you create reports in very Django Admin listing

Installation

Add the ‘autoreports’ app to your list of INSTALLED_APPS.

Redefine ‘admin/change_list.html’ templates as follows:

{% load adminmedia admin_list i18n autoreports_tags %} {# add auto_reports_tags #}

{% block object-tools %}
  {% if has_add_permission %}
    <ul class="object-tools">
      <li>
        <a href="add/{% if is_popup %}?_popup=1{% endif %}" class="addlink">
          {% blocktrans with cl.opts.verbose_name as name %}Add {{ name }}{% endblocktrans %}
        </a>
      </li>
      {% autoreports_admin %} {# add this stuff #}
    </ul>
  {% endif %}
{% endblock %}

By default it will takes ‘list_display’ fields to export in CSV. You can redefine it in every model admin you want:

class FooModelAdmin(SearchForm):
    report_fields = ('name', 'description', 'category', ...)

Development

You can get the last bleeding edge version of autoreports by doing a checkout of its subversion repository:

svn co https//svnpub.yaco.es/djangoapps/autoreports/trunk/autoreports

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-autoreports-0.5.tar.gz (25.0 kB view details)

Uploaded Source

File details

Details for the file django-autoreports-0.5.tar.gz.

File metadata

File hashes

Hashes for django-autoreports-0.5.tar.gz
Algorithm Hash digest
SHA256 b6dee4fbfbf5fbd7e373265b72a762e2099c25ce905792c4b23984f08456541f
MD5 d9a31c755fcccbeaa63cc3fe7bcaca03
BLAKE2b-256 759343dc8978e9fba6cc8357a98cfc1b363026ef1691a149280db134b8bfcdb1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page