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
0.6.1
Fixed an issue when used in Django 1.3
Project details
Release history Release notifications | RSS feed
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.6.1.tar.gz
(58.9 kB
view details)
File details
Details for the file django-autoreports-0.6.1.tar.gz
.
File metadata
- Download URL: django-autoreports-0.6.1.tar.gz
- Upload date:
- Size: 58.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0234a33d986f49837a196c2c4ed62669e5f645004ecc2929657b8b4c7eae003a |
|
MD5 | fd62f338b8f45353c47479fbda6463eb |
|
BLAKE2b-256 | 929e4c3f419902088cfb22bea036e8faebfa17db45c9bc3de75b0b95fccea924 |