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 http://svnpub.yaco.es/djangoapps/autoreports/trunk/autoreports

0.7.3

  • More compatible with python 2.5

0.7.2

  • More versatile the api

0.7.1

  • Removed error in the name of functions

  • Removed error in the values of choices

  • Removed error help_text and label with AUTOREPORTS_I18N = True

  • [Wizard] Removed error of the field to inheritance

  • [Wizard] Removed error of the field tree infinite

0.7.0

  • Code cleanup

  • Usability in the wizard

  • More funcionality in the API

  • A test project

  • Remove cmsutils dependence

  • Fixes

0.6.1

  • Fixed an issue when used in Django 1.3

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.7.3.tar.gz (87.0 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for django-autoreports-0.7.3.tar.gz
Algorithm Hash digest
SHA256 b078c7bd9fff25d7679432106e699e1a678b8a0edb6463e355c1da08a4e11410
MD5 03f7889fba1c931f962ac6581630b292
BLAKE2b-256 9183fabc9922cc736170d2343b80b2e9de8273aa39dfc9752473163adfeffdd6

See more details on using hashes here.

Provenance

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