Metadata-Version: 2.0
Name: django-export-action
Version: 0.1.1
Summary: Generic export action for Django's Admin
Home-page: https://github.com/fgmacedo/django-export-action
Author: Fernando Macedo
Author-email: fgmacedo@gmail.com
License: MIT
Keywords: django-export-action
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Framework :: Django
Classifier: Framework :: Django :: 1.8
Classifier: Framework :: Django :: 1.9
Classifier: Framework :: Django :: 1.10
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Requires-Dist: openpyxl

=============================
Django Export Action
=============================

.. image:: https://badge.fury.io/py/django-export-action.png
    :target: https://badge.fury.io/py/django-export-action

.. image:: https://travis-ci.org/fgmacedo/django-export-action.png?branch=master
    :target: https://travis-ci.org/fgmacedo/django-export-action

.. image:: https://img.shields.io/codecov/c/github/fgmacedo/django-export-action/master.svg?label=branch%20coverage
   :target: https://codecov.io/github/fgmacedo/django-export-action


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:

.. code-block:: python

    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.


