Skip to main content

Generic export action for Django's Admin

Project description

https://badge.fury.io/py/django-export-action.png https://travis-ci.org/fgmacedo/django-export-action.png?branch=master https://img.shields.io/codecov/c/github/fgmacedo/django-export-action/master.svg?label=branch%20coverage

Generic export action for Django’s Admin

Quickstart

Install Django Export Action:

pip install django-export-action

Include it on INSTALLED_APPS:

'export_action',

Add to urls:

url(r'^export_action/', include("export_action.urls", namespace="export_action")),

Usage

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

Features

  • Generic action to enable export data from Admin.
  • Automatic traversal of model relations.
  • Selection of fields to export.
  • Can export to XSLx, CSV and HTML.

Running Tests

Does the code actually work?

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install -r requirements_test.txt
(myenv) $ py.test

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.

History

0.1.0 (2016-09-29)

  • First release on PyPI.

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
django_export_action-0.1.1-py2.py3-none-any.whl (13.9 kB) Copy SHA256 hash SHA256 Wheel 3.5 Oct 3, 2016
django-export-action-0.1.1.tar.gz (12.0 kB) Copy SHA256 hash SHA256 Source None Oct 3, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page