django-admin-export

Generic export to xls action for Django admin interface


Keywords
django, admin
License
BSD-3-Clause
Install
pip install django-admin-export==2.0

Documentation

This project is no longer active. Check out a fork at https://github.com/fgmacedo/django-export-action

django-admin-export

Generic export to XLSX/HTML/CSV action for the Django admin interface.

Meant for fast and simple exports and lets you choose the data to export.

Features

  • Drop in application
  • Traverse model relations recursively

django-admin-export is built with django-report-utils. For a a full query builder try using django-report-builder.

Install

  1. pip install django-admin-export
  2. Add admin_export to INSTALLED_APPS
  3. Add url(r'^admin_export/', include("admin_export.urls", namespace="admin_export")), to your project's urls.py

Usage

Go to any admin page, select fields, then select the export to xls action. Then check off any fields you want to export.

Running tests

  1. Acquire a checkout of the repository
  2. pip install -e . -r test_requirements.txt
  3. py.test tests

Security

This project assumes staff users are trusted. There may be ways for users to manipulate this project to get more data access than they should have.