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.

Source Distribution

django-export-action-0.1.1.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

django_export_action-0.1.1-py2.py3-none-any.whl (13.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-export-action-0.1.1.tar.gz.

File metadata

File hashes

Hashes for django-export-action-0.1.1.tar.gz
Algorithm Hash digest
SHA256 bb08802cb72c8f7dce7e775754b5b5236504656a6ca5b5f5ed8cc1904a923393
MD5 4875229a694805836f6aeef7e0ff51f3
BLAKE2b-256 740b52c14ce91b78ea536b26d3cd7b002850f2465d55b823ebd90d5995299330

See more details on using hashes here.

File details

Details for the file django_export_action-0.1.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_export_action-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9f9de049b08ec949a3df0f0fc80d6a65de81ce87a00ba675bb8402042b029b1f
MD5 7ea50a6f42d08ca07ab65772b544ace3
BLAKE2b-256 06304236451072b011d56b1ede9047447a153f6ff7779202bd8a6130ac368168

See more details on using hashes here.

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