django-autoreports

0.8.4 LGPL v3 (GNU Lesser General Public Lic...    
  UNRATED

  289 downloads

Django application that lets you create reports

description

download

specs

changelog

django-autoreports is a Django app that 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
read more   
Last updated on November 27th, 2011

#create reports #admin listing #Django #report #generator #admin

0 User reviews so far.

SUBMIT